commit a8177a9b95226cc5499d32ecee2034640d881f96
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Dec 22 11:20:09 2015 +0000
Add inline to std::__invfwd
PR libstdc++/59768
* include/std/functional (__invfwd): Add inline specifier.
@@ -207,7 +207,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Used by __invoke_impl instead of std::forward<_Tp> so that a
// reference_wrapper is converted to an lvalue-reference.
template<typename _Tp>
- typename _Unwrap<_Tp>::type
+ inline typename _Unwrap<_Tp>::type
__invfwd(typename remove_reference<_Tp>::type& __t) noexcept
{ return _Unwrap<_Tp>::_S_fwd(__t); }