|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81593 - in trunk: boost/thread/detail libs/thread/test
From: marshall_at_[hidden]
Date: 2012-11-27 12:26:11
Author: marshall
Date: 2012-11-27 12:26:10 EST (Tue, 27 Nov 2012)
New Revision: 81593
URL: http://svn.boost.org/trac/boost/changeset/81593
Log:
Removed missed usage of deprecated macros in Boost.Thread
Text files modified:
trunk/boost/thread/detail/config.hpp | 2 +-
trunk/libs/thread/test/test_6174.cpp | 4 ++--
trunk/libs/thread/test/test_futures.cpp | 2 +-
trunk/libs/thread/test/test_ml.cpp | 2 +-
trunk/libs/thread/test/test_move_function.cpp | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp (original)
+++ trunk/boost/thread/detail/config.hpp 2012-11-27 12:26:10 EST (Tue, 27 Nov 2012)
@@ -18,7 +18,7 @@
#include <boost/thread/detail/platform.hpp>
#if ! defined BOOST_THREAD_NOEXCEPT_OR_THROW
-#ifdef BOOST_NO_NOEXCEPT
+#ifdef BOOST_NO_CXX11_NOEXCEPT
# define BOOST_THREAD_NOEXCEPT_OR_THROW throw()
#else
# define BOOST_THREAD_NOEXCEPT_OR_THROW noexcept
Modified: trunk/libs/thread/test/test_6174.cpp
==============================================================================
--- trunk/libs/thread/test/test_6174.cpp (original)
+++ trunk/libs/thread/test/test_6174.cpp 2012-11-27 12:26:10 EST (Tue, 27 Nov 2012)
@@ -9,9 +9,9 @@
#include <boost/thread.hpp>
#include <boost/config.hpp>
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
struct MovableButNonCopyable {
-#if ! defined BOOST_NO_DELETED_FUNCTIONS
+#if ! defined BOOST_NO_CXX11_DELETED_FUNCTIONS
MovableButNonCopyable(MovableButNonCopyable const&) = delete;
MovableButNonCopyable& operator=(MovableButNonCopyable const&) = delete;
#else
Modified: trunk/libs/thread/test/test_futures.cpp
==============================================================================
--- trunk/libs/thread/test/test_futures.cpp (original)
+++ trunk/libs/thread/test/test_futures.cpp 2012-11-27 12:26:10 EST (Tue, 27 Nov 2012)
@@ -20,7 +20,7 @@
#define LOG \
if (false) {} else std::cout << std::endl << __FILE__ << "[" << __LINE__ << "]"
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
template<typename T>
typename boost::remove_reference<T>::type&& cast_to_rval(T&& t)
{
Modified: trunk/libs/thread/test/test_ml.cpp
==============================================================================
--- trunk/libs/thread/test/test_ml.cpp (original)
+++ trunk/libs/thread/test/test_ml.cpp 2012-11-27 12:26:10 EST (Tue, 27 Nov 2012)
@@ -4,7 +4,7 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/config.hpp>
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
#include <boost/detail/lightweight_test.hpp>
#include <boost/thread/future.hpp>
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-11-27 12:26:10 EST (Tue, 27 Nov 2012)
@@ -97,7 +97,7 @@
struct nc:
public boost::shared_ptr<int>
{
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
nc() {}
nc(nc&&)
{
@@ -120,7 +120,7 @@
void test_move_for_user_defined_type_unaffected()
{
user_test_ns::nc src;
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
user_test_ns::nc dest=boost::move(src);
#else
user_test_ns::nc dest=move(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