diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 11:16:16 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 11:16:16 +0200 |
commit | 6b836d54fdbea502f47c546f8f04c347eba46d5c (patch) | |
tree | 7c286256df57ed839756574d01b014cf0510cd83 /src/linda.cpp | |
parent | 92944be3c3718095efa38e2a8db94844b1c7f739 (diff) | |
download | lanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.tar.gz lanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.tar.bz2 lanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.zip |
Fix bad uses of STRINGVIEW_FMT
Diffstat (limited to 'src/linda.cpp')
-rw-r--r-- | src/linda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linda.cpp b/src/linda.cpp index dafac56..8d09903 100644 --- a/src/linda.cpp +++ b/src/linda.cpp | |||
@@ -54,7 +54,7 @@ static void check_key_types(lua_State* L_, int start_, int end_) | |||
54 | static constexpr std::array<std::reference_wrapper<UniqueKey const>, 3> kKeysToCheck{ kLindaBatched, kCancelError, kNilSentinel }; | 54 | static constexpr std::array<std::reference_wrapper<UniqueKey const>, 3> kKeysToCheck{ kLindaBatched, kCancelError, kNilSentinel }; |
55 | for (UniqueKey const& _key : kKeysToCheck) { | 55 | for (UniqueKey const& _key : kKeysToCheck) { |
56 | if (_key.equals(L_, _i)) { | 56 | if (_key.equals(L_, _i)) { |
57 | raise_luaL_error(L_, "argument #%d: can't use " STRINGVIEW_FMT " as a key", _i, _key.debugName.size(), _key.debugName.data()); | 57 | raise_luaL_error(L_, "argument #%d: can't use %s as a key", _i, _key.debugName.data()); |
58 | break; | 58 | break; |
59 | } | 59 | } |
60 | } | 60 | } |