Compilation error: magic_enum
Dear all,
I am trying to compile on my laptop. Unfortunately I encounter a compilation error I am not able to fix which has to do with "constexpr auto" usage in magic_enum.
Thank you for your help Raphael
allpix-squared/src/modules/CSADigitizer/CSADigitizerModule.cpp:34:48: required from here
allpix-squared/3rdparty/magic_enum/magic_enum.hpp:507:31: error: the type ‘const auto’ of ‘constexpr’ variable ‘magic_enum::detail::names_v<allpix::CSADigitizerModule::DigitizerType, false>’ is not literal
inline constexpr auto names_v = names<E, IsFlags>(std::make_index_sequence<count_v<E, IsFlags>>{});