Skip to content
Snippets Groups Projects
Commit 8f16514f authored by Miezhiko's avatar Miezhiko
Browse files

error fix: pass object of non-trivial type 'std::string'


Signed-off-by: default avatarMiezhiko <Miezhiko@gmail.com>
parent 2eda1996
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ LLExperienceCache::LLExperienceCache(std::string grid) ...@@ -99,7 +99,7 @@ LLExperienceCache::LLExperienceCache(std::string grid)
{ {
LLStringUtil::toLower(grid); LLStringUtil::toLower(grid);
LLStringUtil::replaceChar(grid, ' ', '_'); LLStringUtil::replaceChar(grid, ' ', '_');
file = llformat("experience_cache.%s.xml", grid); file = llformat("experience_cache.%s.xml", grid.c_str());
} }
mCacheFileName = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, file); mCacheFileName = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment