aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 14:49:22 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 14:49:22 +0200
commit5c52bacfda43024ba17f5b1188b0b67e4f30c887 (patch)
tree6a349d50c276b6463cbc8c079c668100c7de4f99 /src/cancel.cpp
parentce7006e3c063fc1383c23d2e0e36917b31d04e3f (diff)
downloadlanes-5c52bacfda43024ba17f5b1188b0b67e4f30c887.tar.gz
lanes-5c52bacfda43024ba17f5b1188b0b67e4f30c887.tar.bz2
lanes-5c52bacfda43024ba17f5b1188b0b67e4f30c887.zip
ASSERT_L → LUA_ASSERT
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r--src/cancel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp
index fe1f3e6..a7dc0ec 100644
--- a/src/cancel.cpp
+++ b/src/cancel.cpp
@@ -264,7 +264,7 @@ LUAG_FUNC(thread_cancel)
264 switch (thread_cancel(lane, op, hook_count, wait_timeout, wake_lane)) 264 switch (thread_cancel(lane, op, hook_count, wait_timeout, wake_lane))
265 { 265 {
266 default: // should never happen unless we added a case and forgot to handle it 266 default: // should never happen unless we added a case and forgot to handle it
267 ASSERT_L(false); 267 LUA_ASSERT(L, false);
268 break; 268 break;
269 269
270 case CancelResult::Timeout: 270 case CancelResult::Timeout: