From a650bd631a4681d09e3ff66f79b73b99299565f3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 16 Jan 2022 18:50:28 +0100 Subject: Fixed -Wdeprecated-copy warning in G3D --- dep/g3dlite/G3D-v9.0 hotfix13.diff | 12 ++++++++++++ dep/g3dlite/include/G3D/Vector3.h | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 dep/g3dlite/G3D-v9.0 hotfix13.diff (limited to 'dep') diff --git a/dep/g3dlite/G3D-v9.0 hotfix13.diff b/dep/g3dlite/G3D-v9.0 hotfix13.diff new file mode 100644 index 00000000000..a2127a2907c --- /dev/null +++ b/dep/g3dlite/G3D-v9.0 hotfix13.diff @@ -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; diff --git a/dep/g3dlite/include/G3D/Vector3.h b/dep/g3dlite/include/G3D/Vector3.h index 1c42513b45e..05d9b11ed57 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; -- cgit v1.2.3