1
0
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:
ShadowNinja
2015-10-14 02:39:30 -04:00
committed by kwolekr
parent 6f4d6cb574
commit 6f2d785d0f
20 changed files with 109 additions and 113 deletions

View File

@@ -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;