Fixed a ToLua warning - operator = not supported.

This commit is contained in:
madmaxoft
2014-08-03 22:04:48 +02:00
parent a24e960a89
commit 6ce61d1a6f
8 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ static bool DoIntervalsIntersect(int a_Min1, int a_Max1, int a_Min2, int a_Max2)
////////////////////////////////////////////////////////////////////////////////
// cCuboid:
cCuboid & cCuboid::operator=(cCuboid a_Other)
cCuboid & cCuboid::operator =(cCuboid a_Other)
{
std::swap(p1, a_Other.p1);
std::swap(p2, a_Other.p2);