You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find such code in "/usr/local/include/glog/logging.h" if you set up the glog by yourself.Those functions are called by "CHECK_NOTNULL" in logging.h.
classGOOGLE_GLOG_DLL_DECL LogMessageFatal : public LogMessage {
public:LogMessageFatal(constchar* file, int line);
LogMessageFatal(constchar* file, int line, const CheckOpString& result);
__attribute__((noreturn)) ~LogMessageFatal();
};
template <typename T>
T* CheckNotNull(constchar *file, int line, constchar *names, T* t) {
if (t == NULL) {
LogMessageFatal(file, line, newstd::string(names));
}
return t;
}
#defineCHECK_NOTNULL(val) \
google::CheckNotNull(__FILE__, __LINE__, "'" #val "' Must be non NULL", (val))
The text was updated successfully, but these errors were encountered:
Solution
Comment "CHECK_NOTNULL" in those files:(You can also use VSCode to find "CHECK_NOTNULL" in the folder)
You can find such code in "/usr/local/include/glog/logging.h" if you set up the glog by yourself.Those functions are called by "CHECK_NOTNULL" in logging.h.
The text was updated successfully, but these errors were encountered: