Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85087 - trunk/libs/variant/test
From: antoshkka_at_[hidden]
Date: 2013-07-20 11:32:31


Author: apolukhin
Date: 2013-07-20 11:32:31 EDT (Sat, 20 Jul 2013)
New Revision: 85087
URL: http://svn.boost.org/trac/boost/changeset/85087

Log:
Fix test case (refs #8772)

Text files modified:
   trunk/libs/variant/test/rvalue_test.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/variant/test/rvalue_test.cpp
==============================================================================
--- trunk/libs/variant/test/rvalue_test.cpp Fri Jul 19 18:39:00 2013 (r85086)
+++ trunk/libs/variant/test/rvalue_test.cpp 2013-07-20 11:32:31 EDT (Sat, 20 Jul 2013) (r85087)
@@ -199,8 +199,10 @@
 struct nothrow_copyable_throw_movable {
     nothrow_copyable_throw_movable(){}
     nothrow_copyable_throw_movable(const nothrow_copyable_throw_movable&) BOOST_NOEXCEPT {}
+ nothrow_copyable_throw_movable& operator=(const nothrow_copyable_throw_movable&) BOOST_NOEXCEPT { return *this; }
 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
     nothrow_copyable_throw_movable(nothrow_copyable_throw_movable&&) BOOST_NOEXCEPT_IF(false) {}
+ nothrow_copyable_throw_movable& operator=(nothrow_copyable_throw_movable&&) BOOST_NOEXCEPT_IF(false) { return *this; }
 #endif
 };
 


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