Browse Source

any: minor changes

Michele Caini 4 years ago
parent
commit
b2a4515d2b
1 changed files with 1 additions and 1 deletions
  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;