diff --git a/src/util/json/value.cpp b/src/util/json/value.cpp index 7c74ca3..9c64ace 100644 --- a/src/util/json/value.cpp +++ b/src/util/json/value.cpp @@ -106,7 +106,7 @@ void Value::emplace(const std::string& key, Value value) m_value.asObject = new Object; } - assert(m_type == Type::Array); + assert(m_type == Type::Object); m_value.asObject->emplace(key, value); }