summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/podict.cpp2
-rw-r--r--src/utils/translation/podict.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp
index 56fd42467..cd374319f 100644
--- a/src/utils/translation/podict.cpp
+++ b/src/utils/translation/podict.cpp
@@ -31,7 +31,7 @@ PoDict *reverseDictionary = nullptr;
PoDict *mainTranslator = nullptr;
#endif // ENABLE_CUSTOMNLS
-PoDict::PoDict(std::string lang) :
+PoDict::PoDict(const std::string &lang) :
mPoLines(),
mLang(lang)
{
diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h
index d40aa1499..d8f47b896 100644
--- a/src/utils/translation/podict.h
+++ b/src/utils/translation/podict.h
@@ -31,7 +31,7 @@ typedef std::map <std::string, std::string> PoMap;
class PoDict final
{
public:
- explicit PoDict(std::string lang);
+ explicit PoDict(const std::string &lang);
A_DELETE_COPY(PoDict)