Skip to content

Commit

Permalink
Merge branch 'master' of github.com:TartanLlama/function_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
TartanLlama committed Jun 7, 2019
2 parents 3cdadfa + bba2df3 commit 9639a37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions function_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -161,11 +161,7 @@ template <class R, class... Args> class function_ref<R(Args...)> {

/// Makes `*this` refer to the same callable as `rhs`.
TL_FUNCTION_REF_11_CONSTEXPR function_ref<R(Args...)> &
operator=(const function_ref<R(Args...)> &rhs) noexcept {
obj_ = rhs.obj_;
callback_ = rhs.callback_;
return *this;
}
operator=(const function_ref<R(Args...)> &rhs) noexcept = default;

/// Makes `*this` refer to `f`.
///
Expand Down

0 comments on commit 9639a37

Please sign in to comment.