From a818c4489c548d7fa94eaf4bb983652c90b47a6b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 29 Jun 2022 15:27:11 +0200 Subject: [PATCH] Util: Add missing getter to Object --- src/util/json/object.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/json/object.h b/src/util/json/object.h index 24554fa..dc4b769 100644 --- a/src/util/json/object.h +++ b/src/util/json/object.h @@ -42,6 +42,7 @@ public: const Value& at(const std::string& key) const { return m_members.at(key); } const Value& operator[](const std::string& key) const { return m_members.at(key); } + size_t size() const { return m_members.size(); } const std::map& members() const { return m_members; } private: