Fixed -Wdeprecated-copy warning in G3D

This commit is contained in:
Shauren authored and Ovahlord committed 2022-01-16 19:37:03 +01:00
1 parent edcc11423b
commit 9ab7c6e8f6
2 files changed
+12 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
diff --git a/dep/g3dlite/include/G3D/Vector3.h b/dep/g3dlite/include/G3D/Vector3.h
index 1c42513b45..05d9b11ed5 100644
--- a/dep/g3dlite/include/G3D/Vector3.h
+++ b/dep/g3dlite/include/G3D/Vector3.h
@@ -128,7 +128,6 @@ public:
Axis primaryAxis() const;
// assignment and comparison
- Vector3& operator=(const Vector3& rkVector) = default;
Vector3& operator=(const Any& a);
bool operator== (const Vector3& rkVector) const;
bool operator!= (const Vector3& rkVector) const;
-1
View File
@@ -128,7 +128,6 @@ public:
Axis primaryAxis() const;
// assignment and comparison
Vector3& operator=(const Vector3& rkVector) = default;
Vector3& operator=(const Any& a);
bool operator== (const Vector3& rkVector) const;
bool operator!= (const Vector3& rkVector) const;