diff options
Diffstat (limited to 'entity/accessor.hpp')
| -rw-r--r-- | entity/accessor.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/entity/accessor.hpp b/entity/accessor.hpp index 9dd9c3b6..22bef6e3 100644 --- a/entity/accessor.hpp +++ b/entity/accessor.hpp @@ -2,21 +2,11 @@ #include "util.hpp" #include "erased-constraints.hpp" #include "name-of.hpp" -#include <type_traits> +#include "field-status.hpp" #include <Corrade/Containers/StringView.h> -namespace floormat::erased_constraints { - -struct range; -struct max_length; -struct group; - -} // namespace floormat::erased_constraints - namespace floormat::entities { -enum class field_status : unsigned char { hidden, readonly, enabled, COUNT, }; - struct erased_accessor final { using reader_t = void; using writer_t = void; @@ -40,7 +30,6 @@ struct erased_accessor final { erased_constraints::max_length(*length_fun)(const Object*, const c_length_t*) = nullptr; explicit constexpr erased_accessor() noexcept = default; - constexpr erased_accessor(const erased_accessor&) = default; constexpr erased_accessor(const reader_t* reader, const writer_t* writer, const predicate_t* predicate, const c_range_t* range, const c_length_t* length, StringView field_name, StringView object_name, StringView field_type_name, |
