Removed the indirection via StringSlot

This commit is contained in:
Benoit Blanchon committed 2018-11-30 14:27:35 +01:00
1 parent 45f4e5ac20
commit a60162ba76
23 files changed
+105 -164

No files matched your search

+2 -2
View File
@@ -79,12 +79,12 @@ TEST_CASE("JsonVariant with not enough memory") {
JsonVariant v = doc.to<JsonVariant>();
SECTION("std::string") {
v.set(std::string("hello"));
v.set(std::string("hello world!!"));
REQUIRE(v.isNull());
}
SECTION("Serialized<std::string>") {
v.set(serialized(std::string("hello")));
v.set(serialized(std::string("hello world!!")));
REQUIRE(v.isNull());
}
}