summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 15:41:34 +0200
committerGitHub <noreply@github.com>2021-03-28 15:41:34 +0200
commit125df19477055a8e33b25aaafa05f5c59fd32626 (patch)
tree61cc24dd104d2c777dcfd0805ba685b0d540ec68 /tests
parentUnify DoWithBlockEntity (#5168) (diff)
downloadcuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.gz
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.bz2
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.lz
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.xz
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.zst
cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/Generating/Stubs.cpp2
-rw-r--r--tests/LuaThreadStress/Stubs.cpp2
-rw-r--r--tests/SchematicFileSerializer/Stubs.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Generating/Stubs.cpp b/tests/Generating/Stubs.cpp
index 32c4f696e..b4f56bc1c 100644
--- a/tests/Generating/Stubs.cpp
+++ b/tests/Generating/Stubs.cpp
@@ -149,7 +149,7 @@ void cBlockHandler::NeighborChanged(cChunkInterface & a_ChunkInterface, Vector3i
-cItems cBlockHandler::ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const
+cItems cBlockHandler::ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const
{
return cItems();
}
diff --git a/tests/LuaThreadStress/Stubs.cpp b/tests/LuaThreadStress/Stubs.cpp
index 11264deb2..e77b02038 100644
--- a/tests/LuaThreadStress/Stubs.cpp
+++ b/tests/LuaThreadStress/Stubs.cpp
@@ -151,7 +151,7 @@ void cBlockHandler::NeighborChanged(cChunkInterface & a_ChunkInterface, Vector3i
-cItems cBlockHandler::ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const
+cItems cBlockHandler::ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const
{
return cItems();
}
diff --git a/tests/SchematicFileSerializer/Stubs.cpp b/tests/SchematicFileSerializer/Stubs.cpp
index 1209c4cef..f52b09bf9 100644
--- a/tests/SchematicFileSerializer/Stubs.cpp
+++ b/tests/SchematicFileSerializer/Stubs.cpp
@@ -69,7 +69,7 @@ void cBlockHandler::NeighborChanged(cChunkInterface & a_ChunkInterface, Vector3i
-cItems cBlockHandler::ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const
+cItems cBlockHandler::ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const
{
return cItems();
}