vcmi: modernize headers

This commit is contained in:
Konstantin
2023-04-30 13:35:54 +03:00
parent 51a261b449
commit 86f5d6de69
75 changed files with 234 additions and 273 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ struct Gens : Gens<N-1, N-1, S...> {};
template<int ...S>
struct Gens<0, S...>
{
typedef Seq<S...> type;
using type = Seq<S...>;
};
template <typename R, typename ... Args>
+1 -1
View File
@@ -100,7 +100,7 @@ public:
return;
}
UData * ptr = static_cast<UData *>(raw);
auto * ptr = static_cast<UData *>(raw);
*ptr = value;
luaL_getmetatable(L, KEY);