Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77843 - trunk/libs/thread/test/sync/futures/promise
From: vicente.botet_at_[hidden]
Date: 2012-04-08 18:40:38


Author: viboes
Date: 2012-04-08 18:40:37 EDT (Sun, 08 Apr 2012)
New Revision: 77843
URL: http://svn.boost.org/trac/boost/changeset/77843

Log:
Thread: Make use of the boost version of use_allocator
Text files modified:
   trunk/libs/thread/test/sync/futures/promise/use_allocator_pass.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/thread/test/sync/futures/promise/use_allocator_pass.cpp
==============================================================================
--- trunk/libs/thread/test/sync/futures/promise/use_allocator_pass.cpp (original)
+++ trunk/libs/thread/test/sync/futures/promise/use_allocator_pass.cpp 2012-04-08 18:40:37 EDT (Sun, 08 Apr 2012)
@@ -30,9 +30,9 @@
 int main()
 {
 
- BOOST_STATIC_ASSERT_MSG((boost::container::uses_allocator<boost::promise<int>, test_allocator<int> >::value), "");
- BOOST_STATIC_ASSERT_MSG((boost::container::uses_allocator<boost::promise<int&>, test_allocator<int> >::value), "");
- BOOST_STATIC_ASSERT_MSG((boost::container::uses_allocator<boost::promise<void>, test_allocator<void> >::value), "");
+ BOOST_STATIC_ASSERT_MSG((boost::uses_allocator<boost::promise<int>, test_allocator<int> >::value), "");
+ BOOST_STATIC_ASSERT_MSG((boost::uses_allocator<boost::promise<int&>, test_allocator<int&> >::value), "");
+ BOOST_STATIC_ASSERT_MSG((boost::uses_allocator<boost::promise<void>, test_allocator<void> >::value), "");
 
   return boost::report_errors();
 }


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