Skip to content

Commit a650bd6

Browse files
committed
Fixed -Wdeprecated-copy warning in G3D
1 parent 44caed0 commit a650bd6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

dep/g3dlite/G3D-v9.0 hotfix13.diff

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/dep/g3dlite/include/G3D/Vector3.h b/dep/g3dlite/include/G3D/Vector3.h
2+
index 1c42513b45..05d9b11ed5 100644
3+
--- a/dep/g3dlite/include/G3D/Vector3.h
4+
+++ b/dep/g3dlite/include/G3D/Vector3.h
5+
@@ -128,7 +128,6 @@ public:
6+
Axis primaryAxis() const;
7+
8+
// assignment and comparison
9+
- Vector3& operator=(const Vector3& rkVector) = default;
10+
Vector3& operator=(const Any& a);
11+
bool operator== (const Vector3& rkVector) const;
12+
bool operator!= (const Vector3& rkVector) const;

dep/g3dlite/include/G3D/Vector3.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ class Vector3 {
128128
Axis primaryAxis() const;
129129

130130
// assignment and comparison
131-
Vector3& operator=(const Vector3& rkVector) = default;
132131
Vector3& operator=(const Any& a);
133132
bool operator== (const Vector3& rkVector) const;
134133
bool operator!= (const Vector3& rkVector) const;

0 commit comments

Comments
 (0)