summaryrefslogtreecommitdiff
path: root/deimos/core/id_name.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-03-28 00:02:43 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-03-28 00:02:43 +0100
commitb70ed765ff6cf51aff20714e3ec4415b06898059 (patch)
treec8d0c3ab553108c4d19660039ecf7323a4640feb /deimos/core/id_name.h
parente1229e05aba7554363b2aa9874bd383b5923ee8b (diff)
Random work
Diffstat (limited to 'deimos/core/id_name.h')
-rw-r--r--deimos/core/id_name.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deimos/core/id_name.h b/deimos/core/id_name.h
index 47e7708..6ca5a46 100644
--- a/deimos/core/id_name.h
+++ b/deimos/core/id_name.h
@@ -9,9 +9,9 @@ namespace deimos
struct IdName
{
uint128 hash;
- const char* name;
+ gsl::czstring name;
- explicit constexpr IdName(const char* name_) :
+ explicit constexpr IdName(gsl::czstring name_) :
hash{MurmurHash3_x64_128(name_)},
name{name_}
{}