Skip to content

Commit 27452a3

Browse files
authored
Update Module.cpp
1 parent f18f794 commit 27452a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/cpp/src/Module.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ namespace ns_parent {
117117
}
118118
}
119119

120-
struct module_same_name_component { };
120+
struct module_a_component { };
121121

122-
class module_same_name {
122+
class module_a {
123123
public:
124-
module_same_name(flecs::world &world) {
125-
world.component<module_same_name_component>();
124+
module_a(flecs::world &world) {
125+
world.component<module_a_component>();
126126
}
127127
};
128128

@@ -558,7 +558,7 @@ void Module_reimport_after_delete(void) {
558558

559559
void Module_same_name_prefix_component_registration(void) {
560560
flecs::world world;
561-
world.import<module_same_name>();
561+
world.import<module_a>();
562562

563563
//test_assert
564564
}

0 commit comments

Comments
 (0)