summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.hh b/src/string.hh
index a4d62804..ddb5be8d 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -19,7 +19,7 @@ class StringOps
public:
using value_type = CharType;
- friend inline size_t hash_value(const Type& str)
+ friend constexpr size_t hash_value(const Type& str)
{
return hash_data(str.data(), (int)str.length());
}