Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1611)

Unified Diff: lib/assert.cc

Issue 5883056: Don't pay a static initializer for expected_assertion_ when it's not used. (Closed) Base URL: https://rlz.googlecode.com/svn/trunk
Patch Set: git screwup Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/assert.h ('k') | lib/lib_values_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/assert.cc
diff --git a/lib/assert.cc b/lib/assert.cc
index 1aa5260f7a8e8ff9cf98dae6a66db898ccf32224..44b74c8368d9a8fe5a4ac537454aea878023e7f4 100644
--- a/lib/assert.cc
+++ b/lib/assert.cc
@@ -8,6 +8,8 @@
namespace rlz_lib {
+#ifdef MUTE_EXPECTED_ASSERTS
std::string expected_assertion_;
+#endif
} // namespace rlz_lib
« no previous file with comments | « lib/assert.h ('k') | lib/lib_values_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b