diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-10 09:48:59 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-10 09:48:59 +0200 |
commit | 408f8a5bf7934e7a5aa113fd3a55899db70dd73a (patch) | |
tree | af1a63c4d5c81fe8b2f97ee32842fe89d2c457fe /src/deep.cpp | |
parent | 8f75e0ff26645ced3669f600aa5e9133bb7b49af (diff) | |
download | lanes-408f8a5bf7934e7a5aa113fd3a55899db70dd73a.tar.gz lanes-408f8a5bf7934e7a5aa113fd3a55899db70dd73a.tar.bz2 lanes-408f8a5bf7934e7a5aa113fd3a55899db70dd73a.zip |
C++ migration: luaG_inter_copy_* now return an enum class instead of an anonymous int
Diffstat (limited to 'src/deep.cpp')
-rw-r--r-- | src/deep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deep.cpp b/src/deep.cpp index 418724e..d0b8123 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -488,7 +488,7 @@ bool copydeep(Universe* U, Dest L2, int L2_cache_i, Source L, int i, LookupMode | |||
488 | { | 488 | { |
489 | // raise the error in the proper state (not the keeper) | 489 | // raise the error in the proper state (not the keeper) |
490 | lua_State* const errL{ (mode_ == LookupMode::FromKeeper) ? L2 : L }; | 490 | lua_State* const errL{ (mode_ == LookupMode::FromKeeper) ? L2 : L }; |
491 | std::ignore = luaL_error(errL, errmsg); // doesn't return | 491 | luaL_error(errL, errmsg); // doesn't return |
492 | } | 492 | } |
493 | return true; | 493 | return true; |
494 | } \ No newline at end of file | 494 | } \ No newline at end of file |