[Scummvm-git-logs] scummvm master -> e64570f6c31f2d97a26fdce4c3f521ba2a8a4945
bluegr
bluegr at gmail.com
Mon Mar 15 11:26:35 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e64570f6c3 CGE2: Remove trivial copy ctor and copy assignment operator
Commit: e64570f6c31f2d97a26fdce4c3f521ba2a8a4945
https://github.com/scummvm/scummvm/commit/e64570f6c31f2d97a26fdce4c3f521ba2a8a4945
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-03-15T13:26:32+02:00
Commit Message:
CGE2: Remove trivial copy ctor and copy assignment operator
Changed paths:
engines/cge2/vga13h.h
diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h
index 087a6b1469..993622a70b 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); }
More information about the Scummvm-git-logs
mailing list