Skip to content

Commit c58c621

Browse files
committed
Update component.hpp
1 parent a18bbc5 commit c58c621

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/FlecsLibrary/Public/flecs/addons/cpp/component.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ inline ecs_cpp_type_action_t enum_action() {
140140
return &_::init_enum<T>;
141141

142142
}
143+
else
144+
{
145+
return nullptr;
146+
}
143147
#else
144148
return nullptr;
145149
#endif

0 commit comments

Comments
 (0)