Core/Locales: b5ad731cf3 followup
This commit is contained in:
1 parent
b5ad731cf3
commit
b5dcfece67
2 files changed
+2
-2
No files matched your search
@@ -286,7 +286,7 @@ ObjectMgr::~ObjectMgr()
|
||||
delete itr->second;
|
||||
}
|
||||
|
||||
void ObjectMgr::AddLocaleString(std::string const&& value, LocaleConstant localeConstant, std::vector<std::string>& data)
|
||||
void ObjectMgr::AddLocaleString(std::string&& value, LocaleConstant localeConstant, std::vector<std::string>& data)
|
||||
{
|
||||
if (!value.empty())
|
||||
{
|
||||
|
||||
@@ -1571,7 +1571,7 @@ class TC_GAME_API ObjectMgr
|
||||
// for wintergrasp only
|
||||
GraveyardContainer GraveyardStore;
|
||||
|
||||
static void AddLocaleString(std::string const&& value, LocaleConstant localeConstant, std::vector<std::string>& data);
|
||||
static void AddLocaleString(std::string&& value, LocaleConstant localeConstant, std::vector<std::string>& data);
|
||||
static inline void GetLocaleString(std::vector<std::string> const& data, LocaleConstant localeConstant, std::string& value)
|
||||
{
|
||||
if (data.size() > size_t(localeConstant) && !data[localeConstant].empty())
|
||||
|
||||
Reference in new issue
Block a user