diff options
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 | } |