Explorar el Código

view: backward compat/coverage purposes

Michele Caini hace 2 años
padre
commit
3ec5e81d81
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/entt/entity/view.hpp

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

@@ -784,7 +784,7 @@ public:
      * @param elem A storage to assign to the view.
      */
     void storage(Get &elem) noexcept {
-        this->view = &elem;
+        storage<0>(elem);
     }
 
     /**