aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/compat.h6
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
168template <int VERSION> 168template <int VERSION>
169struct Wrap<VERSION, typename std::enable_if<VERSION == 503>::type> 169struct 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
202template <int VERSION> 202template <int VERSION>
203struct Wrap<VERSION, typename std::enable_if<VERSION == 502>::type> 203struct 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
237template <int VERSION> 237template <int VERSION>
238struct Wrap<VERSION, typename std::enable_if<VERSION == 501>::type> 238struct 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 {