diff --git a/function_ref.hpp b/function_ref.hpp index a177e20..60fbb15 100644 --- a/function_ref.hpp +++ b/function_ref.hpp @@ -15,7 +15,7 @@ #define TL_FUNCTION_REF_HPP #define TL_FUNCTION_REF_VERSION_MAJOR 0 -#define TL_FUNCTION_REF_VERSION_MINOR 2 +#define TL_FUNCTION_REF_VERSION_MINOR 3 #if (defined(_MSC_VER) && _MSC_VER == 1900) /// \exclude @@ -161,11 +161,7 @@ template class function_ref { /// Makes `*this` refer to the same callable as `rhs`. TL_FUNCTION_REF_11_CONSTEXPR function_ref & - operator=(const function_ref &rhs) noexcept { - obj_ = rhs.obj_; - callback_ = rhs.callback_; - return *this; - } + operator=(const function_ref &rhs) noexcept = default; /// Makes `*this` refer to `f`. ///