WINTERMUTE: Initialize member _gameRef in SaveThumbHelper

This commit is contained in:
Einar Johan Trøan Sømåen 2013-04-19 15:37:44 +02:00
parent 2785c3a528
commit 60a474d452
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
namespace Wintermute {
//////////////////////////////////////////////////////////////////////////
SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) {
SaveThumbHelper::SaveThumbHelper(BaseGame *inGame) : _gameRef(inGame) {
_thumbnail = nullptr;
_scummVMThumb = nullptr;
}

View File

@ -35,7 +35,7 @@ class BaseGame;
class SaveThumbHelper {
public:
SaveThumbHelper(const BaseGame *inGame);
SaveThumbHelper(BaseGame *inGame);
virtual ~SaveThumbHelper(void);
bool storeThumbnail(bool doFlip = false);
bool storeScummVMThumbNail(bool doFlip = false);