Neargye / magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
MIT License
4.76k stars 422 forks source link

example_switch.cpp: properly return 0 #336

Closed stephanlachnit closed 7 months ago

stephanlachnit commented 7 months ago

The main function in example_switch.cpp was declared as int main() but actually does not return a value - this fixes this by adding return 0 to the end of the function.

Neargye commented 7 months ago

Thanks!