mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
This commit is contained in:
parent
6f4d6cb574
commit
6f2d785d0f
20 changed files with 109 additions and 113 deletions
|
@ -154,9 +154,9 @@ void content_nodemeta_deserialize_legacy(std::istream &is,
|
|||
|
||||
if(version > 1)
|
||||
{
|
||||
infostream<<__FUNCTION_NAME<<": version "<<version<<" not supported"
|
||||
infostream<<FUNCTION_NAME<<": version "<<version<<" not supported"
|
||||
<<std::endl;
|
||||
throw SerializationError(__FUNCTION_NAME);
|
||||
throw SerializationError(FUNCTION_NAME);
|
||||
}
|
||||
|
||||
u16 count = readU16(is);
|
||||
|
@ -174,7 +174,7 @@ void content_nodemeta_deserialize_legacy(std::istream &is,
|
|||
|
||||
if(meta->get(p) != NULL)
|
||||
{
|
||||
warningstream<<__FUNCTION_NAME<<": "
|
||||
warningstream<<FUNCTION_NAME<<": "
|
||||
<<"already set data at position"
|
||||
<<"("<<p.X<<","<<p.Y<<","<<p.Z<<"): Ignoring."
|
||||
<<std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue