summaryrefslogtreecommitdiff
path: root/rapidjsonwrapper.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2022-11-23 16:08:50 -0500
committerJosh Ferrell <josh@vector35.com>2022-11-27 13:43:45 -0500
commitf36ea5dc522db920a7c182a3b79cd2a57e52b386 (patch)
tree8f93ecfa397264b899ff5ac8e79f05893872d792 /rapidjsonwrapper.h
parentc85ec318d88f39791ef6745b8f758b79b3110a43 (diff)
Fix clang warnings
Diffstat (limited to 'rapidjsonwrapper.h')
-rw-r--r--rapidjsonwrapper.h2
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())