diff options
Diffstat (limited to 'indra/llfilesystem/lldiskcache.cpp')
| -rw-r--r-- | indra/llfilesystem/lldiskcache.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llfilesystem/lldiskcache.cpp b/indra/llfilesystem/lldiskcache.cpp index 49904911a9..e971e1885a 100644 --- a/indra/llfilesystem/lldiskcache.cpp +++ b/indra/llfilesystem/lldiskcache.cpp @@ -103,7 +103,7 @@ void LLDiskCache::purge()      std::vector<file_info_t> file_info;  #if LL_WINDOWS -    std::wstring cache_path(utf8str_to_utf16str(sCacheDir)); +    std::wstring cache_path(ll_convert<std::wstring>(sCacheDir));  #else      std::string cache_path(sCacheDir);  #endif @@ -226,7 +226,7 @@ void LLDiskCache::clearCache()       */      boost::system::error_code ec;  #if LL_WINDOWS -    std::wstring cache_path(utf8str_to_utf16str(sCacheDir)); +    std::wstring cache_path(ll_convert<std::wstring>(sCacheDir));  #else      std::string cache_path(sCacheDir);  #endif @@ -259,7 +259,7 @@ void LLDiskCache::removeOldVFSFiles()      boost::system::error_code ec;  #if LL_WINDOWS -    std::wstring cache_path(utf8str_to_utf16str(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, ""))); +    std::wstring cache_path(ll_convert<std::wstring>(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "")));  #else      std::string cache_path(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, ""));  #endif @@ -300,7 +300,7 @@ uintmax_t LLDiskCache::dirFileSize(const std::string& dir)       */      boost::system::error_code ec;  #if LL_WINDOWS -    std::wstring dir_path(utf8str_to_utf16str(dir)); +    std::wstring dir_path(ll_convert<std::wstring>(dir));  #else      std::string dir_path(dir);  #endif  | 
