diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-24 12:21:00 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-24 12:21:00 +0200 |
commit | a3f500cd3ef0b4b333cc3bf403c64995dea33d5f (patch) | |
tree | 8a4923cccb918fc5b700388bc5874911fd3bad21 /src/intercopycontext.cpp | |
parent | 452f24128791a27511fcebbff8fdecc4f3151d49 (diff) | |
download | lanes-a3f500cd3ef0b4b333cc3bf403c64995dea33d5f.tar.gz lanes-a3f500cd3ef0b4b333cc3bf403c64995dea33d5f.tar.bz2 lanes-a3f500cd3ef0b4b333cc3bf403c64995dea33d5f.zip |
Having luaG_tostring return a non-empty string_view on non-string values was a bad idea
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r-- | src/intercopycontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 85c1ebb..4d3aaac 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -1326,7 +1326,7 @@ namespace { | |||
1326 | STACK_CHECK(L2, n_ + 1); | 1326 | STACK_CHECK(L2, n_ + 1); |
1327 | // Remove the cache table. Persistent caching would cause i.e. multiple | 1327 | // Remove the cache table. Persistent caching would cause i.e. multiple |
1328 | // messages passed in the same table to use the same table also in receiving end. | 1328 | // messages passed in the same table to use the same table also in receiving end. |
1329 | lua_remove(L2, _top_L2 + 1); // L2: ... {}n | 1329 | lua_remove(L2, _c.L2_cache_i); // L2: ... {}n |
1330 | return InterCopyResult::Success; | 1330 | return InterCopyResult::Success; |
1331 | } | 1331 | } |
1332 | 1332 | ||