Explorar el Código

meta_any: suppress a warning from clang

Michele Caini hace 5 años
padre
commit
e6a5945463
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/entt/meta/meta.hpp

+ 2 - 2
src/entt/meta/meta.hpp

@@ -268,8 +268,8 @@ public:
      */
     meta_any(meta_any &&other) ENTT_NOEXCEPT
         : storage{std::move(other.storage)},
-          vtable{std::exchange(other.vtable, &basic_vtable<void>)},
-          node{std::exchange(other.node, nullptr)}
+          node{std::exchange(other.node, nullptr)},
+          vtable{std::exchange(other.vtable, &basic_vtable<void>)}
     {}
 
     /*! @brief Frees the internal storage, whatever it means. */