build: fix build errors on windows
* fix compiler issue where string was returned instead of wstring * fix boost caching in CMakeList: for CMake 3.12.2 the "set" command requires a docstring if the CACHE flag is set
This commit is contained in:
@@ -602,7 +602,7 @@ std::wstring elide(const std::wstring& str, ElideMode mode, size_t size)
|
||||
return str.substr(0, size - 3) + L"...";
|
||||
}
|
||||
|
||||
return "";
|
||||
return L"";
|
||||
}
|
||||
|
||||
std::wstring convertWhiteSpacesToSingleSpaces(const std::wstring& str)
|
||||
|
||||
Reference in New Issue
Block a user