diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 00:20:13 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 00:20:13 +0200 |
| commit | c3fec2466ed44e3d65b8dceb5a80bc621176d45d (patch) | |
| tree | bb1afdd6ca8e23a2d3098d1253985d82a45eff16 /editor | |
| parent | 9cc74826f71bfc08595ff93ac931c751f52c833c (diff) | |
b
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/inspect-types.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index 899bc851..331b82a7 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -1,5 +1,6 @@ #include "entity/metadata.hpp" #include "entity/accessor.hpp" +#include "compat/overloaded.hpp" #include "src/scenery.hpp" #include "src/anim-atlas.hpp" #include "src/tile-defs.hpp" @@ -90,9 +91,6 @@ struct entity_accessors<object, inspect_intent_t> { } }; -template<typename... Ts> struct overloaded : Ts... { using Ts::operator()...; }; -template<typename... Ts> overloaded(Ts...) -> overloaded<Ts...>; - template<> struct entity_accessors<scenery, inspect_intent_t> { static constexpr auto accessors() |
