diff options
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() |
