From 2a43e8aef0b80f48c20439835cc17a0d774f76a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sun, 21 Jan 2024 19:38:27 +0100 Subject: [PATCH] Fix a deprecation warning about std::result_of_t We still have one about std::char_traits (indirectly through std::basic_string_view) though, but our lord and savouir mniip said we can migrate off of it once we're c++20. --- src/lua/LuaScriptInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/LuaScriptInterface.cpp b/src/lua/LuaScriptInterface.cpp index 3b66212f8..9c9ed9aaa 100644 --- a/src/lua/LuaScriptInterface.cpp +++ b/src/lua/LuaScriptInterface.cpp @@ -1386,7 +1386,7 @@ static int sim_decoSpace(lua_State *L) template struct LuaBlockMapHelper { - using ItemType = std::remove_reference_t)>>; + using ItemType = std::remove_reference_t>>; }; template::ItemType>