Преглед изворни кода

snapshot: noexcept move ctor/op

Michele Caini пре 2 година
родитељ
комит
11ade1cbc0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/entt/entity/snapshot.hpp

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

@@ -344,10 +344,10 @@ public:
           reg{&source} {}
 
     /*! @brief Default move constructor. */
-    basic_continuous_loader(basic_continuous_loader &&) = default;
+    basic_continuous_loader(basic_continuous_loader &&) noexcept = default;
 
     /*! @brief Default move assignment operator. @return This loader. */
-    basic_continuous_loader &operator=(basic_continuous_loader &&) = default;
+    basic_continuous_loader &operator=(basic_continuous_loader &&) noexcept = default;
 
     /**
      * @brief Restores all elements of a type with associated identifiers.