Skip to content

Commit

Permalink
SHERLOCK: Remove empty destructor for WidgetFiles.
Browse files Browse the repository at this point in the history
WidgetBase already has a virtual destructor, thus there is no need to make
WidgetFiles have an empty virtual destructor around. This also prevents g++
for Dreamcast from failing due to an internal compiler error.
  • Loading branch information
Johannes Schickel committed Jan 11, 2016
1 parent 299a96c commit 440cc50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engines/sherlock/tattoo/widget_files.h
Expand Up @@ -67,7 +67,6 @@ class WidgetFiles: public WidgetBase, public SaveManager {
virtual Common::Rect getScrollBarBounds() const;
public:
WidgetFiles(SherlockEngine *vm, const Common::String &target);
virtual ~WidgetFiles() {}

/**
* Prompt the user whether to quit
Expand Down

0 comments on commit 440cc50

Please sign in to comment.