Skip to content

Commit 02d8566

Browse files
Removed enchantum::Enum
1 parent 0cb7a6e commit 02d8566

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/rfl/parsing/tabular/ArrowTypes.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <optional>
88
#include <stdexcept>
99
#include <string>
10+
#include <type_traits>
1011

1112
#include "../../Box.hpp"
1213
#include "../../NamedTuple.hpp"
@@ -672,7 +673,7 @@ struct ArrowTypes<std::string, _s> {
672673
};
673674

674675
template <class T, SerializationType _s>
675-
requires enchantum::Enum<T>
676+
requires std::is_enum_v<T>
676677
struct ArrowTypes<T, _s> {
677678
using ArrayType = arrow::StringArray;
678679
using BuilderType = arrow::StringBuilder;

0 commit comments

Comments
 (0)