aboutsummaryrefslogtreecommitdiff
path: root/src/tools.hpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 16:24:35 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 16:24:35 +0100
commit887fc613dd943d1221d5a2a3b96cee37c0d81248 (patch)
tree7151029f79e115d8822291644e11244def30079d /src/tools.hpp
parent05e4cce366cccf92ad88f80695efa548fae187de (diff)
downloadlanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.tar.gz
lanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.tar.bz2
lanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.zip
All enums are [[nodiscard]]
Diffstat (limited to 'src/tools.hpp')
-rw-r--r--src/tools.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools.hpp b/src/tools.hpp
index 9a62cda..2b8c5b5 100644
--- a/src/tools.hpp
+++ b/src/tools.hpp
@@ -4,7 +4,7 @@
4 4
5class Universe; 5class Universe;
6 6
7enum class LookupMode 7enum class [[nodiscard]] LookupMode
8{ 8{
9 LaneBody, // send the lane body directly from the source to the destination lane. keep this one first so that it's the value we get when we default-construct 9 LaneBody, // send the lane body directly from the source to the destination lane. keep this one first so that it's the value we get when we default-construct
10 ToKeeper, // send a function from a lane to a keeper state 10 ToKeeper, // send a function from a lane to a keeper state
@@ -20,6 +20,7 @@ enum class [[nodiscard]] FuncSubType
20 FastJIT 20 FastJIT
21}; 21};
22 22
23[[nodiscard]]
23FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_); 24FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_);
24 25
25// ################################################################################################# 26// #################################################################################################