From b43451daa5dc7b2e352d084d45934cf71db7ae4f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 7 May 2014 17:54:05 +0300 Subject: Add missing const. --- src/utils/translation/podict.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/translation/podict.h') diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h index 36cf0d4af..45150d408 100644 --- a/src/utils/translation/podict.h +++ b/src/utils/translation/podict.h @@ -47,10 +47,10 @@ class PoDict final PoMap *getMap() { return &mPoLines; } - void set(std::string key, std::string value) + void set(const std::string &key, const std::string &value) { mPoLines[key] = value; } - void setLang(std::string lang) + void setLang(const std::string &lang) { mLang = lang; } private: -- cgit v1.2.3-70-g09d2