Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55704 - sandbox/boost/mapreduce
From: cdm.henderson_at_[hidden]
Date: 2009-08-21 15:03:37


Author: chenderson
Date: 2009-08-21 15:03:37 EDT (Fri, 21 Aug 2009)
New Revision: 55704
URL: http://svn.boost.org/trac/boost/changeset/55704

Log:
Removed incorrect error handling for default-constructed key values
Text files modified:
   sandbox/boost/mapreduce/job.hpp | 10 ----------
   1 files changed, 0 insertions(+), 10 deletions(-)

Modified: sandbox/boost/mapreduce/job.hpp
==============================================================================
--- sandbox/boost/mapreduce/job.hpp (original)
+++ sandbox/boost/mapreduce/job.hpp 2009-08-21 15:03:37 EDT (Fri, 21 Aug 2009)
@@ -207,16 +207,6 @@
                 return false;
             }
 
- // Map Task
- if (map_key == typename map_task_type::key_type()
- || value == typename map_task_type::value_type())
- {
- BOOST_ASSERT(map_key != typename map_task_type::key_type());
- BOOST_ASSERT(value != typename map_task_type::value_type());
- ++result.counters.map_key_errors;
- return false;
- }
-
             map_task_runner runner(*this);
             runner(map_key, value);
 


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