|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55724 - sandbox/libs/mapreduce/test
From: cdm.henderson_at_[hidden]
Date: 2009-08-22 17:37:18
Author: chenderson
Date: 2009-08-22 17:37:18 EDT (Sat, 22 Aug 2009)
New Revision: 55724
URL: http://svn.boost.org/trac/boost/changeset/55724
Log:
Syntax change for g++ compilation
Text files modified:
sandbox/libs/mapreduce/test/mrtest.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/libs/mapreduce/test/mrtest.cpp
==============================================================================
--- sandbox/libs/mapreduce/test/mrtest.cpp (original)
+++ sandbox/libs/mapreduce/test/mrtest.cpp 2009-08-22 17:37:18 EDT (Sat, 22 Aug 2009)
@@ -214,7 +214,7 @@
spec.reduce_tasks = 1;
Job job(datasource, spec);
- job.run<boost::mapreduce::schedule_policy::sequential<Job> >(result);
+ job.template run<boost::mapreduce::schedule_policy::sequential<Job> >(result);
std::cout << "\nSequential MapReduce Finished.";
#else
std::cout << "\nRunning CPU Parallel MapReduce...";
@@ -225,7 +225,7 @@
typename Job::datasource_type datasource(spec);
Job job(datasource, spec);
- job.run<boost::mapreduce::schedule_policy::cpu_parallel<Job> >(result);
+ job.template run<boost::mapreduce::schedule_policy::cpu_parallel<Job> >(result);
std::cout << "\nCPU Parallel MapReduce Finished.\n";
#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