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

resource: noexcept-ness review

Michele Caini пре 1 година
родитељ
комит
13223125d7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/entt/resource/resource.hpp

+ 1 - 1
src/entt/resource/resource.hpp

@@ -120,7 +120,7 @@ public:
      * @brief Exchanges the content with that of a given resource.
      * @param other Resource to exchange the content with.
      */
-    void swap(resource &other) {
+    void swap(resource &other) noexcept {
         using std::swap;
         swap(value, other.value);
     }