From 7f4b95b3f8bbe7aa2be842462e57868ec17fd19e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20Johan=20Tr=C3=B8an=20S=C3=B8ma=CC=8Aen?= Date: Wed, 17 Apr 2013 20:38:59 +0200 Subject: [PATCH] WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper. --- engines/wintermute/base/save_thumb_helper.cpp | 2 +- engines/wintermute/base/save_thumb_helper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/wintermute/base/save_thumb_helper.cpp b/engines/wintermute/base/save_thumb_helper.cpp index 4598757375e..db6f855cc61 100644 --- a/engines/wintermute/base/save_thumb_helper.cpp +++ b/engines/wintermute/base/save_thumb_helper.cpp @@ -35,7 +35,7 @@ namespace Wintermute { ////////////////////////////////////////////////////////////////////////// -SaveThumbHelper::SaveThumbHelper(BaseGame *inGame) { +SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) { _thumbnail = nullptr; _scummVMThumb = nullptr; } diff --git a/engines/wintermute/base/save_thumb_helper.h b/engines/wintermute/base/save_thumb_helper.h index cbf03457096..43cc7e39a7b 100644 --- a/engines/wintermute/base/save_thumb_helper.h +++ b/engines/wintermute/base/save_thumb_helper.h @@ -35,7 +35,7 @@ class BaseGame; class SaveThumbHelper { public: - SaveThumbHelper(BaseGame *inGame); + SaveThumbHelper(const BaseGame *inGame); virtual ~SaveThumbHelper(void); bool storeThumbnail(bool doFlip = false); bool storeScummVMThumbNail(bool doFlip = false);