mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
This commit is contained in:
@@ -120,7 +120,7 @@ void NodeMetadataList::deSerialize(std::istream &is, IItemDefManager *item_def_m
|
||||
}
|
||||
|
||||
if (version != 1) {
|
||||
std::string err_str = std::string(__FUNCTION_NAME)
|
||||
std::string err_str = std::string(FUNCTION_NAME)
|
||||
+ ": version " + itos(version) + " not supported";
|
||||
infostream << err_str << std::endl;
|
||||
throw SerializationError(err_str);
|
||||
|
Reference in New Issue
Block a user