1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Update log.h

This commit is contained in:
Gefüllte Taubenbrust 2024-12-28 10:49:16 +01:00
parent cb5d97e751
commit 03fd933c48

View file

@ -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*> ((const char*)"(null)");
return this->operator<< <const char*> ("(null)");
else
return this->operator<< <T>(std::forward<T>(arg));
}