Przeglądaj źródła

view: try to make VS happy again :)

Michele Caini 2 lat temu
rodzic
commit
e6f76e0f96
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/entt/entity/view.hpp

+ 1 - 1
src/entt/entity/view.hpp

@@ -299,7 +299,7 @@ public:
 
     /*! @brief Updates the internal leading view if required. */
     void refresh() noexcept {
-        std::apply([this](auto *...elem) { ((view = elem->size() < view->size() ? elem : view), ...); }, pools);
+        std::apply([this](auto *...elem) { ((this->view = elem->size() < this->view->size() ? elem : this->view), ...); }, pools);
     }
 
     /**