diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:01:26 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:03:39 +0100 |
| commit | 8cbc8962ea1bcb57ef2b5d1baee78b03c2ace669 (patch) | |
| tree | d747513a2945d232f88cccd6cb69cd4417bbf07c /entity | |
| parent | d1c04ea956d40ba3ccc4977b7427c1f4acae8597 (diff) | |
entity: fix whitespace & msvc warnings
Diffstat (limited to 'entity')
| -rw-r--r-- | entity/metadata.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/entity/metadata.hpp b/entity/metadata.hpp index d1ecfa71..2aae47f9 100644 --- a/entity/metadata.hpp +++ b/entity/metadata.hpp @@ -5,6 +5,7 @@ #include "util.hpp" #include "concepts.hpp" #include <cstddef> +#include <concepts> #include <type_traits> #include <limits> #include <utility> @@ -13,9 +14,7 @@ #include <compat/function2.hpp> #include <Corrade/Containers/StringView.h> -namespace floormat::entities { - -namespace detail { +namespace floormat::entities::detail { template<typename F, typename Tuple, std::size_t N> requires std::invocable<F, decltype(std::get<N>(std::declval<Tuple>()))> @@ -75,8 +74,9 @@ constexpr std::size_t find_reader_index = find_reader_<Obj, Type, Default, 0, st template<typename Obj, auto constant> constexpr auto constantly = [](const Obj&) constexpr { return constant; }; +} // namespace floormat::entities::detail -} // namespace detail +namespace floormat::entities { template<typename Obj, typename Type> struct entity_field_base {}; |
