Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69010 - in sandbox/async/libs/async: example test
From: vicente.botet_at_[hidden]
Date: 2011-02-18 18:29:03


Author: viboes
Date: 2011-02-18 18:29:02 EST (Fri, 18 Feb 2011)
New Revision: 69010
URL: http://svn.boost.org/trac/boost/changeset/69010

Log:
Async
Text files modified:
   sandbox/async/libs/async/example/parallel_sort.cpp | 4 ++--
   sandbox/async/libs/async/example/parallel_sort2.cpp | 4 ++--
   sandbox/async/libs/async/test/Jamfile.v2 | 2 +-
   3 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/async/libs/async/example/parallel_sort.cpp
==============================================================================
--- sandbox/async/libs/async/example/parallel_sort.cpp (original)
+++ sandbox/async/libs/async/example/parallel_sort.cpp 2011-02-18 18:29:02 EST (Fri, 18 Feb 2011)
@@ -57,9 +57,9 @@
     boost::iterator_range<typename boost::range_iterator<Range>::type> operator[](unsigned i) {
         unsigned size = boost::size(range_);
         if (i<(parts_-1))
- return boost::make_sliced_range(range_, i*(size/parts_), ((i+1)*(size/parts_)));
+ return boost::sliced_range<typename boost::range_iterator<Range>::type>(range_, i*(size/parts_), ((i+1)*(size/parts_)));
         else
- return boost::make_sliced_range(range_, (parts_-1)*(size/parts_), size);
+ return boost::sliced_range<typename boost::range_iterator<Range>::type>(range_, (parts_-1)*(size/parts_), size);
     }
 };
 

Modified: sandbox/async/libs/async/example/parallel_sort2.cpp
==============================================================================
--- sandbox/async/libs/async/example/parallel_sort2.cpp (original)
+++ sandbox/async/libs/async/example/parallel_sort2.cpp 2011-02-18 18:29:02 EST (Fri, 18 Feb 2011)
@@ -92,9 +92,9 @@
     boost::iterator_range<typename boost::range_iterator<Range>::type> operator[](unsigned i) {
         unsigned size = boost::size(range_);
         if (i<(parts_-1))
- return boost::make_sliced_range(range_, i*(size/parts_), ((i+1)*(size/parts_)));
+ return boost::sliced_range<typename boost::range_iterator<Range>::type>(range_, i*(size/parts_), ((i+1)*(size/parts_)));
         else
- return boost::make_sliced_range(range_, (parts_-1)*(size/parts_), size);
+ return boost::sliced_range<typename boost::range_iterator<Range>::type>(range_, (parts_-1)*(size/parts_), size);
     }
 };
 

Modified: sandbox/async/libs/async/test/Jamfile.v2
==============================================================================
--- sandbox/async/libs/async/test/Jamfile.v2 (original)
+++ sandbox/async/libs/async/test/Jamfile.v2 2011-02-18 18:29:02 EST (Fri, 18 Feb 2011)
@@ -50,7 +50,7 @@
     test-suite "tests"
         :
 # [ async-run test_basic_threader.cpp ]
- [ async-run test_immediate.cpp ]
+# [ async-run test_immediate.cpp ]
            [ async-run test_launcher.cpp ]
            [ async-run test_threader.cpp ]
            [ async-run test_thread_pool.cpp ]


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