diff --git a/src/log.h b/src/log.h index 1073d7935..0e34b2c83 100644 --- a/src/log.h +++ b/src/log.h @@ -62,7 +62,7 @@ private: // These calls explicitly use the templated version of operator<<, // so that they won't use the overloads created by ADD_NULL_CHECK. if (arg == nullptr) - return this->operator<< ((const char*)"(null)"); + return this->operator<< ("(null)"); else return this->operator<< (std::forward(arg)); }