$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r55692 - sandbox/libs/mapreduce/examples/wordcount
From: cdm.henderson_at_[hidden]
Date: 2009-08-20 17:04:11
Author: chenderson
Date: 2009-08-20 17:04:10 EDT (Thu, 20 Aug 2009)
New Revision: 55692
URL: http://svn.boost.org/trac/boost/changeset/55692
Log:
turn off checked iterators to avoid performance hit
Text files modified: 
   sandbox/libs/mapreduce/examples/wordcount/wordcount.cpp |     7 ++++++-                                 
   1 files changed, 6 insertions(+), 1 deletions(-)
Modified: sandbox/libs/mapreduce/examples/wordcount/wordcount.cpp
==============================================================================
--- sandbox/libs/mapreduce/examples/wordcount/wordcount.cpp	(original)
+++ sandbox/libs/mapreduce/examples/wordcount/wordcount.cpp	2009-08-20 17:04:10 EDT (Thu, 20 Aug 2009)
@@ -15,6 +15,11 @@
 #   pragma message("Warning: BOOST_DISABLE_ASSERTS not defined")
 #endif
 
+// turn off checked iterators to avoid performance hit
+#if defined(BOOST_MSVC)  &&  !defined(__SGI_STL_PORT)  &&  !defined(_DEBUG)
+#define _SECURE_SCL 0
+#endif
+
 #include <boost/config.hpp>
 #if defined(BOOST_MSVC)
 #   pragma warning(disable: 4244 4512 4267 4996)
@@ -24,7 +29,7 @@
 #include <numeric>              // accumulate
 #include <boost/algorithm/string.hpp>
 
-#if defined(BOOST_MSVC)  && defined(_DEBUG)
+#if defined(BOOST_MSVC)  &&  defined(_DEBUG)
 #include <crtdbg.h>
 #endif