Преглед на файлове

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);
     }