mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
remove static assert for static string because it does not solve issue (#125)
This commit is contained in:
parent
08089871af
commit
ab2bf820e1
1 changed files with 0 additions and 1 deletions
|
|
@ -180,7 +180,6 @@ struct char_equal_to {
|
|||
|
||||
template <std::size_t N>
|
||||
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<N>{}} {
|
||||
assert(str.size() == N);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue