diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-13 12:18:27 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-13 12:18:27 +0200 |
commit | 6177a3c6b5a05ac2c64978ccf3ca11de9793505b (patch) | |
tree | f0b0e06c2c7c4f97c0069a0822574dd449e27296 /src/compat.h | |
parent | dddc28153796f9c8eb256eddb335c8643226fd0b (diff) | |
download | lanes-6177a3c6b5a05ac2c64978ccf3ca11de9793505b.tar.gz lanes-6177a3c6b5a05ac2c64978ccf3ca11de9793505b.tar.bz2 lanes-6177a3c6b5a05ac2c64978ccf3ca11de9793505b.zip |
A small step toward making clang happy
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compat.h b/src/compat.h index 6458307..3b0ebf4 100644 --- a/src/compat.h +++ b/src/compat.h | |||
@@ -166,7 +166,7 @@ struct Wrap | |||
166 | // ################################################################################################# | 166 | // ################################################################################################# |
167 | 167 | ||
168 | template <int VERSION> | 168 | template <int VERSION> |
169 | struct Wrap<VERSION, typename std::enable_if<VERSION == 503>::type> | 169 | struct Wrap<VERSION, typename std::enable_if_t<VERSION == 503>> |
170 | { | 170 | { |
171 | static inline int lua_dump(lua_State* L_, lua_Writer writer_, void* data_, int strip_) | 171 | static inline int lua_dump(lua_State* L_, lua_Writer writer_, void* data_, int strip_) |
172 | { | 172 | { |
@@ -200,7 +200,7 @@ struct Wrap<VERSION, typename std::enable_if<VERSION == 503>::type> | |||
200 | // ################################################################################################# | 200 | // ################################################################################################# |
201 | 201 | ||
202 | template <int VERSION> | 202 | template <int VERSION> |
203 | struct Wrap<VERSION, typename std::enable_if<VERSION == 502>::type> | 203 | struct Wrap<VERSION, typename std::enable_if_t<VERSION == 502>> |
204 | { | 204 | { |
205 | static inline int lua_dump(lua_State* const L_, lua_Writer const writer_, void* const data_, [[maybe_unused]] int const strip_) | 205 | static inline int lua_dump(lua_State* const L_, lua_Writer const writer_, void* const data_, [[maybe_unused]] int const strip_) |
206 | { | 206 | { |
@@ -235,7 +235,7 @@ struct Wrap<VERSION, typename std::enable_if<VERSION == 502>::type> | |||
235 | // ################################################################################################# | 235 | // ################################################################################################# |
236 | 236 | ||
237 | template <int VERSION> | 237 | template <int VERSION> |
238 | struct Wrap<VERSION, typename std::enable_if<VERSION == 501>::type> | 238 | struct Wrap<VERSION, typename std::enable_if_t<VERSION == 501>> |
239 | { | 239 | { |
240 | static inline int lua_dump(lua_State* const L_, lua_Writer const writer_, void* const data_, [[maybe_unused]] int const strip_) | 240 | static inline int lua_dump(lua_State* const L_, lua_Writer const writer_, void* const data_, [[maybe_unused]] int const strip_) |
241 | { | 241 | { |