Michele Caini 5 лет назад
Родитель
Сommit
b2a4515d2b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/core/any.hpp

+ 1 - 1
src/entt/core/any.hpp

@@ -235,7 +235,7 @@ public:
      * @param other The instance to move from.
      * @return This any object.
      */
-    basic_any & operator=(basic_any &&other) {
+    basic_any & operator=(basic_any &&other) ENTT_NOEXCEPT {
         std::exchange(vtable, other.vtable)(operation::DTOR, *this, nullptr);
         other.vtable(operation::MOVE, other, this);
         mode = other.mode;