mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user