Commit 9bc5bea1 by Jonathan Wakely

libstdc++: Fix name of macro in #undef directive

The macro that is defined is _GLIBCXX_NOT_FN_CALL_OP but the macro that
was named in the #undef directive was _GLIBCXX_NOT_FN_CALL. This fixes
the #undef.

	* include/std/functional (_GLIBCXX_NOT_FN_CALL_OP): Un-define after
	use.
parent 9962493c
2020-02-04 Jonathan Wakely <jwakely@redhat.com> 2020-02-04 Jonathan Wakely <jwakely@redhat.com>
* include/std/functional (_GLIBCXX_NOT_FN_CALL_OP): Un-define after
use.
PR libstdc++/93562 PR libstdc++/93562
* include/bits/unique_ptr.h (__uniq_ptr_impl::swap): Define. * include/bits/unique_ptr.h (__uniq_ptr_impl::swap): Define.
(unique_ptr::swap, unique_ptr<T[], D>::swap): Call it. (unique_ptr::swap, unique_ptr<T[], D>::swap): Call it.
......
...@@ -953,7 +953,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -953,7 +953,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_NOT_FN_CALL_OP( const & ) _GLIBCXX_NOT_FN_CALL_OP( const & )
_GLIBCXX_NOT_FN_CALL_OP( && ) _GLIBCXX_NOT_FN_CALL_OP( && )
_GLIBCXX_NOT_FN_CALL_OP( const && ) _GLIBCXX_NOT_FN_CALL_OP( const && )
#undef _GLIBCXX_NOT_FN_CALL #undef _GLIBCXX_NOT_FN_CALL_OP
private: private:
_Fn _M_fn; _Fn _M_fn;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment