summaryrefslogtreecommitdiff
path: root/deimos/core/id_name.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-03-25 19:32:02 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-03-25 19:32:02 +0100
commit5606b4c399404c0b8f745c6702d70f26eff8b371 (patch)
treeaeafe10a9697196b101a457654319b73fb1c89a0 /deimos/core/id_name.h
parent00c0d78199fcfbbb20828be5e06fd2d271fa4c1e (diff)
Update to Clang 18, C++23, rework allocator
Diffstat (limited to 'deimos/core/id_name.h')
-rw-r--r--deimos/core/id_name.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deimos/core/id_name.h b/deimos/core/id_name.h
index eb961ca..0fb793b 100644
--- a/deimos/core/id_name.h
+++ b/deimos/core/id_name.h
@@ -11,9 +11,9 @@ struct IdName
uint128 hash;
const char* name;
- explicit constexpr IdName(const char* name) :
- hash{MurmurHash3_x64_128(name)},
- name{name}
+ explicit constexpr IdName(const char* name_) :
+ hash{MurmurHash3_x64_128(name_)},
+ name{name_}
{}
};