mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -58,7 +58,7 @@ class LeakReporter : public CxxTest::GlobalFixture
|
||||
static LeakReporter leakReporter;
|
||||
|
||||
// Definition of function from lib/self_test.h
|
||||
bool ts_str_contains(const std::string& str1, const std::string& str2)
|
||||
bool ts_str_contains(const std::wstring& str1, const std::wstring& str2)
|
||||
{
|
||||
return str1.find(str2) != str1.npos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user