diff options
| author | Josh Ferrell <josh@vector35.com> | 2022-11-23 16:08:50 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2022-11-27 13:43:45 -0500 |
| commit | f36ea5dc522db920a7c182a3b79cd2a57e52b386 (patch) | |
| tree | 8f93ecfa397264b899ff5ac8e79f05893872d792 | |
| parent | c85ec318d88f39791ef6745b8f758b79b3110a43 (diff) | |
Fix clang warnings
| -rw-r--r-- | rapidjsonwrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h index 4afb60ff..dfc1fde9 100644 --- a/rapidjsonwrapper.h +++ b/rapidjsonwrapper.h @@ -66,7 +66,7 @@ inline size_t HashBytes(const void* const ptr, const size_t len) } -static uint64_t HashRapidValue(const rapidjson::Value& val) +static inline uint64_t HashRapidValue(const rapidjson::Value& val) { const auto type = static_cast<std::size_t>(val.GetType()); switch (val.GetType()) |
