Browse Source

snapshot: swap properly internally

Michele Caini 4 years ago
parent
commit
4509d8a60b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/entt/entity/snapshot.hpp

+ 2 - 1
src/entt/entity/snapshot.hpp

@@ -340,7 +340,8 @@ class basic_continuous_loader {
             }
             }
         }
         }
 
 
-        std::swap(container, other);
+        using std::swap;
+        swap(container, other);
     }
     }
 
 
     template<typename Container>
     template<typename Container>