diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-10-14 02:39:30 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-10-14 02:39:37 -0400 |
commit | 6f2d785d0ff761961912d7e79a7d16c4adf86861 (patch) | |
tree | 3b96b197cc58b3a4bd30663cb66cf2aca630e77d /src/nodemetadata.cpp | |
parent | 6f4d6cb5741d10e10dacc78e264e421bf6a297cf (diff) | |
download | minetest-6f2d785d0ff761961912d7e79a7d16c4adf86861.tar.gz minetest-6f2d785d0ff761961912d7e79a7d16c4adf86861.tar.bz2 minetest-6f2d785d0ff761961912d7e79a7d16c4adf86861.zip |
Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
Diffstat (limited to 'src/nodemetadata.cpp')
-rw-r--r-- | src/nodemetadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp index 9c74dcd28..126889ecf 100644 --- a/src/nodemetadata.cpp +++ b/src/nodemetadata.cpp @@ -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); |