From cd82d3641c891ef6e446cdfe584dbd936f6a564d Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 23 Apr 2012 13:16:49 +0000 Subject: Fix various typos, and remove an unused macro in checks/bench.cpp All reported by Patrick Pelletier. --- checks/bench.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'checks/bench.cpp') diff --git a/checks/bench.cpp b/checks/bench.cpp index e9eb92199..21b568902 100644 --- a/checks/bench.cpp +++ b/checks/bench.cpp @@ -150,18 +150,6 @@ void report_results(const std::string& algo, std::cout << algo; -#if defined(__SUNPRO_CC) - #define REVERSE_ITERATOR_BUG 1 -#elif defined(__GNUC__) && __GNUC__ <= 3 - #define REVERSE_ITERATOR_BUG 1 -#elif defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ == 0) - #define REVERSE_ITERATOR_BUG 1 -#endif - -#ifndef REVERSE_ITERATOR_BUG - #define REVERSE_ITERATOR_BUG 0 -#endif - #if (defined(__GNUC__) && __GNUC__ <= 3) || defined(__SUNPRO_CC) // Work around GCC 3.x bug, reverse iterators don't work for(std::map::const_iterator i = results.begin(); i != results.end(); ++i) -- cgit v1.2.3