aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/Common.h')
-rw-r--r--src/shared/Common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Common.h b/src/shared/Common.h
index 9bf44b78f16..684776a694f 100644
--- a/src/shared/Common.h
+++ b/src/shared/Common.h
@@ -190,7 +190,7 @@ enum LocaleConstant
extern char const* localeNames[MAX_LOCALE];
-LocaleConstant GetLocaleByName(std::string name);
+LocaleConstant GetLocaleByName(const std::string& name);
// we always use stdlibc++ std::max/std::min, undefine some not C++ standard defines (Win API and some pother platforms)
#ifdef max