|
|
@@ -140,7 +140,7 @@ public:
|
|
|
static constexpr auto alignment = Align;
|
|
|
|
|
|
/*! @brief Default constructor. */
|
|
|
- basic_any() ENTT_NOEXCEPT
|
|
|
+ constexpr basic_any() ENTT_NOEXCEPT
|
|
|
: instance{},
|
|
|
info{&type_id<void>()},
|
|
|
vtable{},
|
|
|
@@ -184,7 +184,7 @@ public:
|
|
|
* @brief Move constructor.
|
|
|
* @param other The instance to move from.
|
|
|
*/
|
|
|
- basic_any(basic_any &&other)
|
|
|
+ basic_any(basic_any &&other) ENTT_NOEXCEPT
|
|
|
: instance{},
|
|
|
info{other.info},
|
|
|
vtable{other.vtable},
|
|
|
@@ -221,7 +221,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 {
|
|
|
reset();
|
|
|
|
|
|
if(other.vtable) {
|