Commit b71aa943 authored by 's avatar

Fix compilation error with -DNDEBUG.

This bug is reported in
http://code.google.com/p/google-glog/issues/detail?id=19



git-svn-id: https://google-glog.googlecode.com/svn/trunk@74 eb4d4688-79bd-11dd-afb4-1d65580434c0
parent effef71e
......@@ -665,8 +665,9 @@ typedef std::string _Check_string;
// the while condition is unlikely.
#define CHECK_OP_LOG(name, op, val1, val2, log) \
while (@ac_google_namespace@::CheckOpString _result = \
@ac_google_namespace@::Check##name##Impl(GetReferenceableValue(val1), \
GetReferenceableValue(val2), \
@ac_google_namespace@::Check##name##Impl( \
@ac_google_namespace@::GetReferenceableValue(val1), \
@ac_google_namespace@::GetReferenceableValue(val2), \
#val1 " " #op " " #val2)) \
log(__FILE__, __LINE__, _result).stream()
#endif // STATIC_ANALYSIS, !NDEBUG
......
......@@ -669,8 +669,9 @@ typedef std::string _Check_string;
// the while condition is unlikely.
#define CHECK_OP_LOG(name, op, val1, val2, log) \
while (google::CheckOpString _result = \
google::Check##name##Impl(GetReferenceableValue(val1), \
GetReferenceableValue(val2), \
google::Check##name##Impl( \
google::GetReferenceableValue(val1), \
google::GetReferenceableValue(val2), \
#val1 " " #op " " #val2)) \
log(__FILE__, __LINE__, _result).stream()
#endif // STATIC_ANALYSIS, !NDEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment