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:
@@ -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>
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
UData * ptr = static_cast<UData *>(raw);
|
||||
auto * ptr = static_cast<UData *>(raw);
|
||||
*ptr = value;
|
||||
|
||||
luaL_getmetatable(L, KEY);
|
||||
|
||||
Reference in New Issue
Block a user