[Scummvm-git-logs] scummvm master -> 804ea64f31d151c7a63a4a185b6c3d7d79b22b56
digitall
547637+digitall at users.noreply.github.com
Sat Mar 27 02:32:31 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:
804ea64f31 STARTREK: Fix GCC Warning for Implicit Copy Operator
Commit: 804ea64f31d151c7a63a4a185b6c3d7d79b22b56
https://github.com/scummvm/scummvm/commit/804ea64f31d151c7a63a4a185b6c3d7d79b22b56
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-27T02:31:45Z
Commit Message:
STARTREK: Fix GCC Warning for Implicit Copy Operator
This is emitted when -Wdeprecated-copy is enabled.
Changed paths:
engines/startrek/space.h
diff --git a/engines/startrek/space.h b/engines/startrek/space.h
index d8fe6798dd..3c3111a03a 100644
--- a/engines/startrek/space.h
+++ b/engines/startrek/space.h
@@ -106,11 +106,6 @@ public:
for (int j = 0; j < 3; j++)
m[i][j] = 0;
}
- TMatrix(const TMatrix<T> &mat) {
- m[0] = mat.m[0];
- m[1] = mat.m[1];
- m[2] = mat.m[2];
- }
T &operator[](int i) {
return m[i];
};
More information about the Scummvm-git-logs
mailing list