diff options
| author | Josh Ferrell <josh@vector35.com> | 2022-11-21 21:29:58 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2022-11-27 13:43:45 -0500 |
| commit | c85ec318d88f39791ef6745b8f758b79b3110a43 (patch) | |
| tree | b08af2fadb376f2b12b958f4132170b78544af79 /rapidjsonwrapper.h | |
| parent | b195e2c1aa0481ae77358492c60035e37a693ee8 (diff) | |
Use windows workaround for GetObject
Diffstat (limited to 'rapidjsonwrapper.h')
| -rw-r--r-- | rapidjsonwrapper.h | 2 |
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); |
