Fixed -Wdeprecated-copy warning in G3D
This commit is contained in:
1 parent
edcc11423b
commit
9ab7c6e8f6
2 files changed
+12
-1
No files matched your search
@@ -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;
|
||||||
@@ -128,7 +128,6 @@ public:
|
|||||||
Axis primaryAxis() const;
|
Axis primaryAxis() const;
|
||||||
|
|
||||||
// assignment and comparison
|
// assignment and comparison
|
||||||
Vector3& operator=(const Vector3& rkVector) = default;
|
|
||||||
Vector3& operator=(const Any& a);
|
Vector3& operator=(const Any& a);
|
||||||
bool operator== (const Vector3& rkVector) const;
|
bool operator== (const Vector3& rkVector) const;
|
||||||
bool operator!= (const Vector3& rkVector) const;
|
bool operator!= (const Vector3& rkVector) const;
|
||||||
|
|||||||
Reference in new issue
Block a user