aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/common/CoreCommonUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/common/CoreCommonUtil.h')
-rw-r--r--src/core/common/CoreCommonUtil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/common/CoreCommonUtil.h b/src/core/common/CoreCommonUtil.h
index 6cbf6405..58bb4d40 100644
--- a/src/core/common/CoreCommonUtil.h
+++ b/src/core/common/CoreCommonUtil.h
@@ -52,7 +52,7 @@ class GPGFRONTEND_CORE_EXPORT CoreCommonUtil : public QObject {
* @brief set a temp cache under a certain key
*
*/
- void SetTempCacheValue(const std::string, const std::string);
+ void SetTempCacheValue(const std::string &, const std::string &);
/**
* @brief after get the temp cache, its value will be imediately ease in
@@ -60,14 +60,14 @@ class GPGFRONTEND_CORE_EXPORT CoreCommonUtil : public QObject {
*
* @return std::string
*/
- std::string GetTempCacheValue(const std::string);
+ std::string GetTempCacheValue(const std::string &);
/**
* @brief imediately ease temp cache in storage
*
* @return std::string
*/
- void ResetTempCacheValue(const std::string);
+ void ResetTempCacheValue(const std::string &);
signals: