diff options
Diffstat (limited to 'tests/test_write.cpp')
-rw-r--r-- | tests/test_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_write.cpp b/tests/test_write.cpp index 9a83e0e..de6f03d 100644 --- a/tests/test_write.cpp +++ b/tests/test_write.cpp @@ -179,7 +179,7 @@ TEST(write_encodings) CHECK(write_narrow(doc, format_default, encoding_utf16) == write_narrow(doc, format_default, is_little_endian() ? encoding_utf16_le : encoding_utf16_be)); size_t wcharsize = sizeof(wchar_t); - std::wstring v = write_wide(doc, format_default, encoding_wchar); + std::basic_string<wchar_t> v = write_wide(doc, format_default, encoding_wchar); if (wcharsize == 4) { |