fix logging on ARM64 and Centos
This commit is contained in:
@@ -1865,6 +1865,11 @@ void MakeCheckOpValueString(std::ostream* os, const unsigned char& v) {
|
||||
}
|
||||
}
|
||||
|
||||
template <>
|
||||
void MakeCheckOpValueString(std::ostream* os, const std::nullptr_t& v) {
|
||||
 (*os) << "nullptr";
|
||||
}
|
||||
|
||||
void InitGoogleLogging(const char* argv0) {
|
||||
logging_internal::InitGoogleLoggingUtilities(argv0);
|
||||
}
|
||||
|
||||
@@ -565,6 +565,11 @@ template <typename T1, typename T2>
|
||||
std::string* MakeCheckOpString(const T1& v1, const T2& v2,
|
||||
const char* exprtext) ATTRIBUTE_NOINLINE;
|
||||
|
||||
// Provide printable value for nullptr_t
|
||||
template <>
|
||||
GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString(std::ostream* os,
|
||||
const std::nullptr_t& v);
|
||||
|
||||
namespace base {
|
||||
namespace internal {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user