test: minor changes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define ENTT_LIB_DISPATCHER_COMMON_TYPES_H
|
||||
|
||||
struct message {
|
||||
int payload;
|
||||
int payload{};
|
||||
};
|
||||
|
||||
struct event {};
|
||||
|
||||
@@ -7,7 +7,7 @@ struct test_emitter
|
||||
: entt::emitter<test_emitter> {};
|
||||
|
||||
struct message {
|
||||
int payload;
|
||||
int payload{};
|
||||
};
|
||||
|
||||
struct event {};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define ENTT_LIB_LOCATOR_COMMON_TYPES_H
|
||||
|
||||
struct service {
|
||||
int value;
|
||||
int value{};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
struct service;
|
||||
|
||||
struct userdata {
|
||||
typename entt::locator<service>::node_type handle;
|
||||
int value;
|
||||
typename entt::locator<service>::node_type handle{};
|
||||
int value{};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
#define ENTT_LIB_META_COMMON_TYPES_H
|
||||
|
||||
struct position {
|
||||
int x;
|
||||
int y;
|
||||
int x{};
|
||||
int y{};
|
||||
};
|
||||
|
||||
struct velocity {
|
||||
double dx;
|
||||
double dy;
|
||||
double dx{};
|
||||
double dy{};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
#define ENTT_LIB_REGISTRY_COMMON_TYPES_H
|
||||
|
||||
struct position {
|
||||
int x;
|
||||
int y;
|
||||
int x{};
|
||||
int y{};
|
||||
};
|
||||
|
||||
struct velocity {
|
||||
double dx;
|
||||
double dy;
|
||||
double dx{};
|
||||
double dy{};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user