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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user