summaryrefslogtreecommitdiff
path: root/src/hash_map.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-06-23 11:03:50 +1000
committerMaxime Coste <mawww@kakoune.org>2024-06-23 11:03:50 +1000
commit4a00a6edead9f35ebc5f538cefc35c778e2dbe49 (patch)
tree41433eff8374605168ddb13a88de5f12f05ed613 /src/hash_map.hh
parent6493ddad421bf5376165af5c0f5ab6fe31d77035 (diff)
Fix trailing whitespaces
Diffstat (limited to 'src/hash_map.hh')
-rw-r--r--src/hash_map.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash_map.hh b/src/hash_map.hh
index dcf76d42..eef082dd 100644
--- a/src/hash_map.hh
+++ b/src/hash_map.hh
@@ -239,7 +239,7 @@ struct HashMap
constexpr bool contains(const KeyType& key) const { return find_index(key) >= 0; }
template<typename KeyType> requires IsHashCompatible<Key, std::remove_cvref_t<KeyType>>
- constexpr EffectiveValue& operator[](KeyType&& key)
+ constexpr EffectiveValue& operator[](KeyType&& key)
{
const auto hash = hash_value(key);
auto index = find_index(key, hash);