summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/EnchantmentSerializer.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-09 11:16:56 +0200
committerMattes D <github@xoft.cz>2015-05-09 12:58:55 +0200
commit846d16315a8b5a81fbc37d66da4d1254038ec494 (patch)
tree2a7c873756a3063480a64a975491bd58d9538554 /src/WorldStorage/EnchantmentSerializer.h
parentMore style checking. (diff)
downloadcuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.gz
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.bz2
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.lz
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.xz
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.tar.zst
cuberite-846d16315a8b5a81fbc37d66da4d1254038ec494.zip
Diffstat (limited to 'src/WorldStorage/EnchantmentSerializer.h')
-rw-r--r--src/WorldStorage/EnchantmentSerializer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/EnchantmentSerializer.h b/src/WorldStorage/EnchantmentSerializer.h
index 9ed362900..7d6546aad 100644
--- a/src/WorldStorage/EnchantmentSerializer.h
+++ b/src/WorldStorage/EnchantmentSerializer.h
@@ -9,9 +9,9 @@ namespace EnchantmentSerializer
{
/// Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or "StoredEnchantments")
- void WriteToNBTCompound(cEnchantments const& a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName);
+ void WriteToNBTCompound(const cEnchantments & a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName);
/// Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments)
- void ParseFromNBT(cEnchantments& a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx);
+ void ParseFromNBT(cEnchantments & a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx);
};