1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

vcmi: modernize headers

This commit is contained in:
Konstantin
2023-04-18 00:11:16 +03:00
parent 51a261b449
commit 86f5d6de69
75 changed files with 234 additions and 273 deletions

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>

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);