From 6556cc558f0602cc99b1a8d1c7212b2e91490cdc Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 20 Mar 2024 16:23:54 +0100 Subject: C++ migration: UniqueKey --- src/tools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools.h') 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); // ################################################################################################ // crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ -static DECLARE_CONST_UNIQUE_KEY( CONFIG_REGKEY, 0x31cd24894eae8624); // 'cancel_error' sentinel +static constexpr UniqueKey CONFIG_REGKEY{ 0x31cd24894eae8624ull }; // registry key to access the configuration // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ -static DECLARE_CONST_UNIQUE_KEY( LOOKUP_REGKEY, 0x5051ed67ee7b51a1); // 'cancel_error' sentinel +static constexpr UniqueKey LOOKUP_REGKEY{ 0x5051ed67ee7b51a1ull }; // registry key to access the lookup database -- cgit v1.2.3-55-g6feb