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/intercopycontext.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/intercopycontext.cpp')
-rw-r--r-- | src/intercopycontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 0b4aabc..978a69b 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -335,10 +335,10 @@ void InterCopyContext::lookup_native_func() const | |||
335 | // when mode_ == LookupMode::FromKeeper, L is a keeper state and L2 is not, therefore L2 is the state where we want to raise the error | 335 | // when mode_ == LookupMode::FromKeeper, L is a keeper state and L2 is not, therefore L2 is the state where we want to raise the error |
336 | raise_luaL_error( | 336 | raise_luaL_error( |
337 | getErrL(), | 337 | getErrL(), |
338 | "%s%s: function '" STRINGVIEW_FMT "' not found in %s destination transfer database.", | 338 | "%s%s: function '%s' not found in %s destination transfer database.", |
339 | lua_isnil(L2, -1) ? "" : "INTERNAL ERROR IN ", | 339 | lua_isnil(L2, -1) ? "" : "INTERNAL ERROR IN ", |
340 | _from ? _from : "main", | 340 | _from ? _from : "main", |
341 | _fqn.size(), _fqn.data(), | 341 | _fqn.data(), |
342 | _to ? _to : "main"); | 342 | _to ? _to : "main"); |
343 | return; | 343 | return; |
344 | } | 344 | } |