aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-04-23 13:16:49 +0000
committerlloyd <[email protected]>2012-04-23 13:16:49 +0000
commitcd82d3641c891ef6e446cdfe584dbd936f6a564d (patch)
tree9a407ca0524ed0f09a511199d42b76edbd34969f /checks/bench.cpp
parentb6bbdd39e713509696eeef8ace9dae1efe979393 (diff)
Fix various typos, and remove an unused macro in checks/bench.cpp
All reported by Patrick Pelletier.
Diffstat (limited to 'checks/bench.cpp')
-rw-r--r--checks/bench.cpp12
1 files changed, 0 insertions, 12 deletions
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<double, std::string>::const_iterator i = results.begin(); i != results.end(); ++i)