From 559db104f8d3a0f366d06c5e1568bfda3c48bcd5 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 15 Dec 2021 10:24:08 +0100 Subject: [PATCH] view: suppress some warnings due to initialization order --- src/entt/entity/view.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index dc1ff42dc..0cf6603e8 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -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.