aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 11:16:16 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 11:16:16 +0200
commit6b836d54fdbea502f47c546f8f04c347eba46d5c (patch)
tree7c286256df57ed839756574d01b014cf0510cd83 /src/universe.cpp
parent92944be3c3718095efa38e2a8db94844b1c7f739 (diff)
downloadlanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.tar.gz
lanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.tar.bz2
lanes-6b836d54fdbea502f47c546f8f04c347eba46d5c.zip
Fix bad uses of STRINGVIEW_FMT
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index 3271e70..620be79 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -383,7 +383,7 @@ void Universe::terminateFreeRunningLanes(lua_State* L_, lua_Duration shutdownTim
383 Lane* _lane{ selfdestructFirst }; 383 Lane* _lane{ selfdestructFirst };
384 if (_lane != SELFDESTRUCT_END) { 384 if (_lane != SELFDESTRUCT_END) {
385 // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it) 385 // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it)
386 raise_luaL_error(L_, "Zombie thread '" STRINGVIEW_FMT "' refuses to die!", _lane->debugName.size(), _lane->debugName.data()); 386 raise_luaL_error(L_, "Zombie thread '%s' refuses to die!", _lane->debugName.data());
387 } 387 }
388 } 388 }
389} 389}