From ab2bf820e19d38381aee6f99e326d64b4e8ca023 Mon Sep 17 00:00:00 2001 From: rpatters1 Date: Sat, 29 Jan 2022 10:46:28 -0600 Subject: [PATCH] remove static assert for static string because it does not solve issue (#125) --- include/magic_enum.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/magic_enum.hpp b/include/magic_enum.hpp index e4d1243..4464026 100644 --- a/include/magic_enum.hpp +++ b/include/magic_enum.hpp @@ -180,7 +180,6 @@ struct char_equal_to { template class static_string { -static_assert(N < UINT16_MAX, "Length of static_string must be less than UINT16_MAX."); public: constexpr explicit static_string(string_view str) noexcept : static_string{str, std::make_index_sequence{}} { assert(str.size() == N);