diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:24:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:24:38 +0100 |
commit | 0474ef756cd7462b990da7b4703ad3cc6ea69419 (patch) | |
tree | 94b40f08e01cdd684111e63550acd83532ea5b3b /test | |
parent | c01f0ffbe08d1932c59dfd05fe7064348f55026e (diff) |
entity/metadata: detect ignored arguments
Diffstat (limited to 'test')
-rw-r--r-- | test/entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/entity.cpp b/test/entity.cpp index ec22f3fc..e1f221f1 100644 --- a/test/entity.cpp +++ b/test/entity.cpp @@ -28,7 +28,7 @@ constexpr auto TestAccessors::accessors() noexcept constexpr auto tuple = std::make_tuple( entity::type<int>::field{"foo"_s, &TestAccessors::foo, &TestAccessors::foo}, entity::type<int>::field{"bar"_s, &TestAccessors::bar, &TestAccessors::set_bar}, - entity::type<int>::field("baz"_s, r_baz, w_baz, std::tuple<>{}) + entity::type<int>::field("baz"_s, r_baz, w_baz) ); return tuple; } |