view: suppress some warnings due to initialization order

This commit is contained in:
Michele Caini
2021-12-15 10:24:08 +01:00
parent 365c57be4c
commit 559db104f8

View File

@@ -627,16 +627,16 @@ public:
/*! @brief Default constructor to use to create empty, invalid views. */
basic_view() ENTT_NOEXCEPT
: filter{},
pools{} {}
: pools{},
filter{} {}
/**
* @brief Constructs a single-type view from a storage class.
* @param ref The storage for the type to iterate.
*/
basic_view(storage_type &ref) ENTT_NOEXCEPT
: filter{},
pools{&ref} {}
: pools{&ref},
filter{} {}
/**
* @brief Returns the leading storage of a view.