From dd19fb2466fb5c90369eb1387a9ba0689e7d0387 Mon Sep 17 00:00:00 2001 From: Jim Ray Date: Wed, 9 Aug 2017 00:09:14 -0700 Subject: [PATCH] Remove GOOGLE_GLOG_COMPILE_ASSERT This compile time assert is no longer used anywhere in glog. Remove it. --- src/glog/logging.h.in | 3 --- src/windows/glog/logging.h | 3 --- 2 files changed, 6 deletions(-) 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) -- 2.7.4