diff options
Diffstat (limited to 'entity')
-rw-r--r-- | entity/accessor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/accessor.hpp b/entity/accessor.hpp index cc777e5d..1a0e8b73 100644 --- a/entity/accessor.hpp +++ b/entity/accessor.hpp @@ -171,7 +171,7 @@ void erased_accessor::write(Obj& x, move_qualified<FieldType> value) const noexc write_unchecked<Obj, FieldType>(x, value); } -field_status erased_accessor::is_enabled(const void* x) const noexcept { return predicate_fun(&x, predicate); } +field_status erased_accessor::is_enabled(const void* x) const noexcept { return predicate_fun(x, predicate); } erased_constraints::range erased_accessor::get_range(const void* x) const noexcept { return range_fun(x,range); } erased_constraints::max_length erased_accessor::get_max_length(const void* x) const noexcept { return length_fun(x,length); } erased_constraints::group erased_accessor::get_group(const void* x) const noexcept { return group_fun(x, group); } |