From: Jim Ray Date: Wed, 9 Aug 2017 07:09:14 +0000 (-0700) Subject: Remove GOOGLE_GLOG_COMPILE_ASSERT X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~28^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fglog.git;a=commitdiff_plain;h=dd19fb2466fb5c90369eb1387a9ba0689e7d0387 Remove GOOGLE_GLOG_COMPILE_ASSERT This compile time assert is no longer used anywhere in glog. Remove it. --- diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index 5d6fead..7b04c1b 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -934,9 +934,6 @@ struct CrashReason; bool IsFailureSignalHandlerInstalled(); } // namespace glog_internal_namespace_ -#define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \ - typedef @ac_google_namespace@::glog_internal_namespace_::CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] - #define LOG_EVERY_N(severity, n) \ SOME_KIND_OF_LOG_EVERY_N(severity, (n), @ac_google_namespace@::LogMessage::SendToLog) diff --git a/src/windows/glog/logging.h b/src/windows/glog/logging.h index f828bc7..d3d9d47 100755 --- a/src/windows/glog/logging.h +++ b/src/windows/glog/logging.h @@ -938,9 +938,6 @@ struct CrashReason; bool IsFailureSignalHandlerInstalled(); } // namespace glog_internal_namespace_ -#define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \ - typedef google::glog_internal_namespace_::CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] - #define LOG_EVERY_N(severity, n) \ SOME_KIND_OF_LOG_EVERY_N(severity, (n), google::LogMessage::SendToLog)