diff options
| author | Rye <rye@lindenlab.com> | 2025-02-11 05:02:45 -0500 | 
|---|---|---|
| committer | Rye <rye@lindenlab.com> | 2025-02-11 05:55:37 -0500 | 
| commit | 179b29252d8bb28e11686a1852c8e8ffcd98ecc0 (patch) | |
| tree | d805c1794f15b4c67aae69fef77941e1257d87b6 /indra/llcrashlogger | |
| parent | 9b060f7fccfed39a7c24dafaa4c66da0cfc4984d (diff) | |
Rework windows to use zc:wchar_t for better c++ conformance and compatibility with modern libraries
Diffstat (limited to 'indra/llcrashlogger')
| -rw-r--r-- | indra/llcrashlogger/llcrashlock.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/llcrashlogger/llcrashlock.cpp b/indra/llcrashlogger/llcrashlock.cpp index ecd197b2c1..bc34f6798f 100644 --- a/indra/llcrashlogger/llcrashlock.cpp +++ b/indra/llcrashlogger/llcrashlock.cpp @@ -189,7 +189,7 @@ LLSD LLCrashLock::getProcessList()  bool LLCrashLock::fileExists(std::string filename)  {  #ifdef LL_WINDOWS // or BOOST_WINDOWS_API -    boost::filesystem::path file_path(utf8str_to_utf16str(filename)); +    boost::filesystem::path file_path(ll_convert<std::wstring>(filename));  #else      boost::filesystem::path file_path(filename);  #endif @@ -199,7 +199,7 @@ bool LLCrashLock::fileExists(std::string filename)  void LLCrashLock::cleanupProcess(std::string proc_dir)  {  #ifdef LL_WINDOWS // or BOOST_WINDOWS_API -    boost::filesystem::path dir_path(utf8str_to_utf16str(proc_dir)); +    boost::filesystem::path dir_path(ll_convert<std::wstring>(proc_dir));  #else      boost::filesystem::path dir_path(proc_dir);  #endif | 
