From b6c288ca9fb271923f493ee39d78b5dc4b2a996f Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 12 Dec 2008 11:21:28 -0600 Subject: *Update to Mangos 6902. Source: Mangos. *Skipped rev: rev 6893, some code about waypoint movement. --HG-- branch : trunk --- src/shared/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/Common.cpp') 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]) -- cgit v1.2.3