1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
magic_enum/include
Thomas Khyn a413fcc9c4
fix: use inline instead of static for constexpr in header file (#401)
Using `static constexpr` in a header file does not seem to be correct - see [1] - and generates a bug when building the magic_enum module with GCC 15

[1] https://isocpp.org/blog/2018/05/quick-q-use-of-constexpr-in-header-file
2025-02-20 12:38:17 +04:00
..
magic_enum fix: use inline instead of static for constexpr in header file (#401) 2025-02-20 12:38:17 +04:00