workaround for msvc that seems not to appreciate much macros

This commit is contained in:
Michele Caini
2019-02-23 13:40:28 +01:00
parent 33fddcb289
commit ff93f2220a

View File

@@ -1,11 +1,14 @@
#include <entt/core/type_traits.hpp>
ENTT_SHARED_STRUCT(position, {
struct position {
int x;
int y;
})
};
ENTT_SHARED_STRUCT(velocity, {
struct velocity {
int dx;
int dy;
})
};
ENTT_SHARED_TYPE(position)
ENTT_SHARED_TYPE(velocity)