summaryrefslogtreecommitdiffstats
path: root/src/Cuboid.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-29 18:29:30 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-29 18:29:30 +0200
commitbb11091402142daf2f9e8294a256bb7222bbc344 (patch)
treeb8a4828b72991b39a5cbf3ed4bc07357f9399972 /src/Cuboid.cpp
parentFixed some headers, incorprated some code from the conflicts (diff)
parentcUUID: Fix FromHexDigit for digits >= 'a' (diff)
downloadcuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar.gz
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar.bz2
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar.lz
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar.xz
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.tar.zst
cuberite-bb11091402142daf2f9e8294a256bb7222bbc344.zip
Diffstat (limited to '')
-rw-r--r--src/Cuboid.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Cuboid.cpp b/src/Cuboid.cpp
index d87a6ef5e..c638eb636 100644
--- a/src/Cuboid.cpp
+++ b/src/Cuboid.cpp
@@ -10,8 +10,12 @@
////////////////////////////////////////////////////////////////////////////////
// cCuboid:
-
-
+cCuboid & cCuboid::operator =(cCuboid a_Other)
+{
+ std::swap(p1, a_Other.p1);
+ std::swap(p2, a_Other.p2);
+ return *this;
+}
void cCuboid::Assign(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2)