add test

This commit is contained in:
Niels Lohmann 2024-11-21 18:02:35 +01:00
parent 38da5b23d9
commit 3a602db882
No known key found for this signature in database
GPG Key ID: 486AF250E8FA0591

View File

@ -72,6 +72,10 @@ struct ParserImpl final: public nlohmann::json_sax<json>
~ParserImpl() override;
ParserImpl()
: float_string_copy("not set")
{}
ParserImpl(const ParserImpl& other)
: float_string_copy(other.float_string_copy)
{}
@ -97,7 +101,7 @@ struct ParserImpl final: public nlohmann::json_sax<json>
return *this;
}
json::string_t float_string_copy = "not set";
json::string_t float_string_copy;
};
ParserImpl::~ParserImpl() = default;