mirror of
https://github.com/nlohmann/json.git
synced 2026-02-09 23:52:15 +00:00
🔨 overwork binary subtypes
This commit is contained in:
@@ -77,7 +77,7 @@ class SaxEventLogger
|
||||
return true;
|
||||
}
|
||||
|
||||
bool binary(std::vector<std::uint8_t>& val)
|
||||
bool binary(json::internal_binary_t& val)
|
||||
{
|
||||
std::string binary_contents = "binary(";
|
||||
std::string comma_space = "";
|
||||
@@ -183,7 +183,7 @@ class SaxCountdown : public nlohmann::json::json_sax_t
|
||||
return events_left-- > 0;
|
||||
}
|
||||
|
||||
bool binary(std::vector<std::uint8_t>&) override
|
||||
bool binary(json::internal_binary_t&) override
|
||||
{
|
||||
return events_left-- > 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user