test: minor changes

This commit is contained in:
Michele Caini
2023-12-15 16:46:27 +01:00
parent fa0add3c02
commit 9e4f40fee6
6 changed files with 13 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
#define ENTT_LIB_DISPATCHER_COMMON_TYPES_H
struct message {
int payload;
int payload{};
};
struct event {};

View File

@@ -7,7 +7,7 @@ struct test_emitter
: entt::emitter<test_emitter> {};
struct message {
int payload;
int payload{};
};
struct event {};

View File

@@ -2,7 +2,7 @@
#define ENTT_LIB_LOCATOR_COMMON_TYPES_H
struct service {
int value;
int value{};
};
#endif

View File

@@ -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

View File

@@ -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

View File

@@ -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