This commit is contained in:
halx99 2022-10-05 11:00:48 +08:00
parent 377a2a91fd
commit 5d8dbac43c

View File

@ -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()));
}