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:
parent
cb5d97e751
commit
03fd933c48
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ private:
|
||||||
// These calls explicitly use the templated version of operator<<,
|
// These calls explicitly use the templated version of operator<<,
|
||||||
// so that they won't use the overloads created by ADD_NULL_CHECK.
|
// so that they won't use the overloads created by ADD_NULL_CHECK.
|
||||||
if (arg == nullptr)
|
if (arg == nullptr)
|
||||||
return this->operator<< <const char*> ((const char*)"(null)");
|
return this->operator<< <const char*> ("(null)");
|
||||||
else
|
else
|
||||||
return this->operator<< <T>(std::forward<T>(arg));
|
return this->operator<< <T>(std::forward<T>(arg));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue