c++ 20 compiler support
This commit is contained in:
parent
4bec1e8a9c
commit
72e32013fc
@ -110,7 +110,7 @@ TEST(memory_large_allocations)
|
||||
// grow
|
||||
for (node = doc.first_child(); node; node = node.next_sibling())
|
||||
{
|
||||
std::basic_string<char_t> s = node.value();
|
||||
std::basic_string<char_t> s{ node.value() };
|
||||
|
||||
CHECK(node.set_value((s + s).c_str()));
|
||||
}
|
||||
|
||||
@ -146,7 +146,7 @@ TEST(as_utf8_invalid)
|
||||
|
||||
TEST(as_utf8_string)
|
||||
{
|
||||
std::basic_string<wchar_t> s = L"abcd";
|
||||
std::wstring s = L"abcd";
|
||||
|
||||
CHECK(as_utf8(s) == "abcd");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user