summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/src/boost/ref.hpp')
-rw-r--r--3rdParty/Boost/src/boost/ref.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/ref.hpp b/3rdParty/Boost/src/boost/ref.hpp
index 0d747bd..6058d69 100644
--- a/3rdParty/Boost/src/boost/ref.hpp
+++ b/3rdParty/Boost/src/boost/ref.hpp
@@ -173,6 +173,12 @@ class unwrap_reference
# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+template <class T> inline typename unwrap_reference<T>::type&
+unwrap_ref(T& t)
+{
+ return t;
+}
+
template<class T> inline T* get_pointer( reference_wrapper<T> const & r )
{
return r.get_pointer();