diff options
author | Colin Snover | 2017-11-16 10:32:47 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | a475cec2aab9a56e618e7858373b40b0cbda5aed (patch) | |
tree | da68cca3d6b76d7284316230379193d0b22241e8 /engines/fullpipe/input.h | |
parent | 715d4bd76ab749b88f888ea8196ce252de6140ad (diff) | |
download | scummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.tar.gz scummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.tar.bz2 scummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.zip |
FULLPIPE: Remove unnecessary constructors
These appear to be default member-wise copy constructors or POD
constructors that zero all members. I suspect that quite a few
pointer-taking constructors are actually supposed to be
copy-constructors but since they don't all just do default
member-wise copies I do not feel confident in changing them without
verifying that there are not separate copy constructors in the
disassembly, and I don't have the database for this game.
Diffstat (limited to 'engines/fullpipe/input.h')
-rw-r--r-- | engines/fullpipe/input.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/fullpipe/input.h b/engines/fullpipe/input.h index 6a1d0f8b07..8efb1c40c6 100644 --- a/engines/fullpipe/input.h +++ b/engines/fullpipe/input.h @@ -39,8 +39,7 @@ struct CursorInfo { int width; int height; - CursorInfo(); - CursorInfo(CursorInfo *src); + CursorInfo() { memset(this, 0, sizeof(*this)); } }; typedef Common::Array<CursorInfo *> CursorsArray; |