1
0
Fork 0
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:
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

@ -126,7 +126,7 @@ ItemStack::ItemStack(std::string name_, u16 count_,
void ItemStack::serialize(std::ostream &os) const
{
DSTACK(__FUNCTION_NAME);
DSTACK(FUNCTION_NAME);
if(empty())
return;
@ -151,7 +151,7 @@ void ItemStack::serialize(std::ostream &os) const
void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef)
{
DSTACK(__FUNCTION_NAME);
DSTACK(FUNCTION_NAME);
clear();