1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00

fix is_magic_enum_supported

This commit is contained in:
neargye 2019-08-27 19:53:58 +05:00
parent a9a8892026
commit c9337182f4
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,8 @@ struct enum_range<number> {
using namespace magic_enum;
static_assert(is_magic_enum_supported, "magic_enum: Unsupported compiler (https://github.com/Neargye/magic_enum#compiler-compatibility).");
TEST_CASE("enum_cast") {
SECTION("string") {
#if defined(_MSC_VER) && _MSC_VER < 1920