Skip to content

Commit fa0a688

Browse files
authored
Update Enum.cpp
1 parent 852e19b commit fa0a688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cpp/src/Enum.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,9 +1588,9 @@ void Enum_runtime_type_constant_u8_template() {
15881588
comp.set<flecs::Component>({ sizeof(uint8_t), alignof(uint8_t) });
15891589
comp.set<flecs::Enum>({ flecs::U8 });
15901590

1591-
comp.constant<uint8_t>("First", 1, flecs::U8)
1592-
.constant<uint8_t>("Second", 2, flecs::U8)
1593-
.constant<uint8_t>("Third", 3, flecs::U8);
1591+
comp.constant<uint8_t>("First", 1)
1592+
.constant<uint8_t>("Second", 2)
1593+
.constant<uint8_t>("Third", 3);
15941594

15951595
auto first = comp.lookup("First");
15961596
auto second = comp.lookup("Second");

0 commit comments

Comments
 (0)