Index: third_party/re2/re2/testing/exhaustive_tester.h |
diff --git a/third_party/re2/re2/testing/exhaustive_tester.h b/third_party/re2/re2/testing/exhaustive_tester.h |
index 1facb9798acdac9e2a20e69c2e8013b0621a1750..38a139f58859ac72ac28224678cba17385f2b702 100644 |
--- a/third_party/re2/re2/testing/exhaustive_tester.h |
+++ b/third_party/re2/re2/testing/exhaustive_tester.h |
@@ -12,16 +12,6 @@ |
#include "re2/testing/string_generator.h" |
namespace re2 { |
- |
-#if !defined(NDEBUG) |
-// We are in a debug build. |
-const bool RE2_DEBUG_MODE = true; |
-#elif ADDRESS_SANITIZER || MEMORY_SANITIZER || THREAD_SANITIZER |
-// Not a debug build, but still under sanitizers. |
-const bool RE2_DEBUG_MODE = true; |
-#else |
-const bool RE2_DEBUG_MODE = false; |
-#endif |
// Exhaustive regular expression test: generate all regexps within parameters, |
// then generate all strings of a given length over a given alphabet, |
@@ -73,7 +63,7 @@ |
bool randomstrings_; // Whether to use random strings |
int32 stringseed_; // If so, the seed. |
int stringcount_; // If so, how many to generate. |
- DISALLOW_COPY_AND_ASSIGN(ExhaustiveTester); |
+ DISALLOW_EVIL_CONSTRUCTORS(ExhaustiveTester); |
}; |
// Runs an exhaustive test on the given parameters. |