From e64570f6c31f2d97a26fdce4c3f521ba2a8a4945 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 15 Mar 2021 12:19:50 +0200 Subject: [PATCH] CGE2: Remove trivial copy ctor and copy assignment operator --- engines/cge2/vga13h.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h index 087a6b14690..993622a70b6 100644 --- a/engines/cge2/vga13h.h +++ b/engines/cge2/vga13h.h @@ -81,8 +81,6 @@ public: FXP _x, _y, _z; V3D() { } V3D(FXP x, FXP y, FXP z = 0) : _x(x), _y(y), _z(z) { } - V3D(const V3D &p) : _x(p._x), _y(p._y), _z(p._z) { } - V3D &operator=(const V3D &p) { _x = p._x; _y = p._y; _z = p._z; return *this; } V3D operator+(const V3D &p) const { return V3D(_x + p._x, _y + p._y, _z + p._z); } V3D operator-(const V3D &p) const { return V3D(_x - p._x, _y - p._y, _z - p._z); } V3D operator*(long n) const { return V3D(_x * n, _y * n, _z * n); }