@@ -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> {};
#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;
+ typename entt::locator<service>::node_type handle{};
@@ -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{};
#define ENTT_LIB_REGISTRY_COMMON_TYPES_H