aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-03-20 16:23:54 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-03-20 16:23:54 +0100
commit6556cc558f0602cc99b1a8d1c7212b2e91490cdc (patch)
tree1763ed796df57a39432f045eccb8d80b2ec02a93 /src/tools.h
parent0b516e9490b51bdd15c347fcda35b5dbb06b4829 (diff)
downloadlanes-6556cc558f0602cc99b1a8d1c7212b2e91490cdc.tar.gz
lanes-6556cc558f0602cc99b1a8d1c7212b2e91490cdc.tar.bz2
lanes-6556cc558f0602cc99b1a8d1c7212b2e91490cdc.zip
C++ migration: UniqueKey
Diffstat (limited to 'src/tools.h')
-rw-r--r--src/tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.h b/src/tools.h
index 9214d85..928a149 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -47,7 +47,7 @@ void cleanup_allocator_function( Universe* U, lua_State* L);
47// ################################################################################################ 47// ################################################################################################
48 48
49// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 49// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/
50static DECLARE_CONST_UNIQUE_KEY( CONFIG_REGKEY, 0x31cd24894eae8624); // 'cancel_error' sentinel 50static constexpr UniqueKey CONFIG_REGKEY{ 0x31cd24894eae8624ull }; // registry key to access the configuration
51 51
52// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 52// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/
53static DECLARE_CONST_UNIQUE_KEY( LOOKUP_REGKEY, 0x5051ed67ee7b51a1); // 'cancel_error' sentinel 53static constexpr UniqueKey LOOKUP_REGKEY{ 0x5051ed67ee7b51a1ull }; // registry key to access the lookup database