Skip to content

Commit

Permalink
Fix MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed Dec 5, 2024
1 parent 43ec38f commit c8521bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cpp/src/observer_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ namespace godot {

public:
GFObserverBuilder(GFWorld* world):
GFQuerylikeBuilder(world),
events(0)
GFQuerylikeBuilder(world)
{}
GFObserverBuilder():
GFObserverBuilder(GFWorld::singleton())
Expand Down Expand Up @@ -47,7 +46,7 @@ namespace godot {
static void _bind_methods();

private:
ecs_entity_t events[FLECS_EVENT_DESC_MAX];
ecs_entity_t events[FLECS_EVENT_DESC_MAX] {0};
};

}
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/querylike_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace godot {
GFQuerylikeBuilder(nullptr)
{}
GFQuerylikeBuilder(GFWorld* world):
query_desc(0),
query_desc( {0} ),
built(false),
term_count(0),
world(world)
Expand Down

0 comments on commit c8521bb

Please sign in to comment.