summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rapidjsonwrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h
index b6f38252..4afb60ff 100644
--- a/rapidjsonwrapper.h
+++ b/rapidjsonwrapper.h
@@ -79,7 +79,7 @@ static uint64_t HashRapidValue(const rapidjson::Value& val)
case rapidjson::kObjectType:
{
auto seed = combine(type, val.MemberCount());
- for (const auto& element : val.GetObject())
+ for (const auto& element : val.GetObj())
{
const auto h = HashBytes(element.name.GetString(), element.name.GetStringLength());
seed = combine(seed, h);