X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06ef151178ba3196fa237165b35a0686a461ff76..e90411c2c1a2808a7f76667ca683c1e21d11ea09:/tests/strings/tokenizer.cpp diff --git a/tests/strings/tokenizer.cpp b/tests/strings/tokenizer.cpp index f694339c2b..056855f12c 100644 --- a/tests/strings/tokenizer.cpp +++ b/tests/strings/tokenizer.cpp @@ -123,7 +123,8 @@ gs_testData[] = // fails in the diagnostic message static std::string Nth(size_t n) { - return wxString::Format(_T("for loop index %lu"), (unsigned long)n).mb_str(); + return std::string(wxString::Format(_T("for loop index %lu"), + (unsigned long)n).mb_str()); } // ----------------------------------------------------------------------------