aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/Common.cpp')
-rw-r--r--src/shared/Common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Common.cpp b/src/shared/Common.cpp
index 93e876bc007..5e24b0e6594 100644
--- a/src/shared/Common.cpp
+++ b/src/shared/Common.cpp
@@ -32,7 +32,7 @@ char const* localeNames[MAX_LOCALE] = {
"ruRU"
};
-LocaleConstant GetLocaleByName(std::string name)
+LocaleConstant GetLocaleByName(const std::string& name)
{
for(uint32 i = 0; i < MAX_LOCALE; ++i)
if(name==localeNames[i])