Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76280 - trunk/libs/thread/test
From: vicente.botet_at_[hidden]
Date: 2012-01-02 12:48:19


Author: viboes
Date: 2012-01-02 12:48:18 EST (Mon, 02 Jan 2012)
New Revision: 76280
URL: http://svn.boost.org/trac/boost/changeset/76280

Log:
Thread: Fix error following last commit 76277 for #6141
Text files modified:
   trunk/libs/thread/test/test_move_function.cpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/libs/thread/test/test_move_function.cpp
==============================================================================
--- trunk/libs/thread/test/test_move_function.cpp (original)
+++ trunk/libs/thread/test/test_move_function.cpp 2012-01-02 12:48:18 EST (Mon, 02 Jan 2012)
@@ -108,6 +108,16 @@
     };
 }
 
+#ifdef BOOST_NO_RVALUE_REFERENCES
+namespace boost
+{
+ template <>
+ struct has_move_emulation_enabled_aux<user_test_ns::nc>
+ : BOOST_MOVE_BOOST_NS::integral_constant<bool, true>
+ {};
+}
+#endif
+
 void test_move_for_user_defined_type_unaffected()
 {
     user_test_ns::nc src;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk