summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Ray <jimray@google.com>2017-08-09 07:09:14 (GMT)
committerJim Ray <jimray@google.com>2017-08-09 07:09:16 (GMT)
commitdd19fb2466fb5c90369eb1387a9ba0689e7d0387 (patch)
tree21a904e130ef19b026fd603b9ca1ffb24c01aa5f /src
parent8b3023f7e4ca46e0ecf5f660dd7340c79139bc34 (diff)
downloadglog-dd19fb2466fb5c90369eb1387a9ba0689e7d0387.zip
glog-dd19fb2466fb5c90369eb1387a9ba0689e7d0387.tar.gz
glog-dd19fb2466fb5c90369eb1387a9ba0689e7d0387.tar.bz2
Remove GOOGLE_GLOG_COMPILE_ASSERT
This compile time assert is no longer used anywhere in glog. Remove it.
Diffstat (limited to 'src')
-rw-r--r--src/glog/logging.h.in3
-rwxr-xr-xsrc/windows/glog/logging.h3
2 files changed, 0 insertions, 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)