diff options
Diffstat (limited to 'src/tools.cpp')
-rw-r--r-- | src/tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.cpp b/src/tools.cpp index 1d778ef..adb30b0 100644 --- a/src/tools.cpp +++ b/src/tools.cpp | |||
@@ -37,7 +37,7 @@ THE SOFTWARE. | |||
37 | #include "debugspew.h" | 37 | #include "debugspew.h" |
38 | #include "universe.h" | 38 | #include "universe.h" |
39 | 39 | ||
40 | DEBUGSPEW_CODE(char const* const DebugSpewIndentScope::debugspew_indent = "----+----!----+----!----+----!----+----!----+----!----+----!----+----!----+"); | 40 | DEBUGSPEW_CODE(std::string_view const DebugSpewIndentScope::debugspew_indent{ "----+----!----+----!----+----!----+----!----+----!----+----!----+----!----+" }); |
41 | 41 | ||
42 | // xxh64 of string "kLookupCacheRegKey" generated at https://www.pelock.com/products/hash-calculator | 42 | // xxh64 of string "kLookupCacheRegKey" generated at https://www.pelock.com/products/hash-calculator |
43 | static constexpr RegistryUniqueKey kLookupCacheRegKey{ 0x9BF75F84E54B691Bull }; | 43 | static constexpr RegistryUniqueKey kLookupCacheRegKey{ 0x9BF75F84E54B691Bull }; |
@@ -302,7 +302,7 @@ static void populate_func_lookup_table_recur(lua_State* L_, int dbIdx_, int i_, | |||
302 | // create a "fully.qualified.name" <-> function equivalence database | 302 | // create a "fully.qualified.name" <-> function equivalence database |
303 | void populate_func_lookup_table(lua_State* const L_, int const i_, std::string_view const& name_) | 303 | void populate_func_lookup_table(lua_State* const L_, int const i_, std::string_view const& name_) |
304 | { | 304 | { |
305 | int const _in_base = lua_absindex(L_, i_); | 305 | int const _in_base{ lua_absindex(L_, i_) }; |
306 | DEBUGSPEW_CODE(Universe* _U = universe_get(L_)); | 306 | DEBUGSPEW_CODE(Universe* _U = universe_get(L_)); |
307 | std::string_view _name{ name_.empty() ? std::string_view{} : name_ }; | 307 | std::string_view _name{ name_.empty() ? std::string_view{} : name_ }; |
308 | DEBUGSPEW_CODE(DebugSpew(_U) << L_ << ": populate_func_lookup_table('" << _name << "')" << std::endl); | 308 | DEBUGSPEW_CODE(DebugSpew(_U) << L_ << ": populate_func_lookup_table('" << _name << "')" << std::endl); |