aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
authorJohannes Schickel2012-09-21 02:30:26 +0200
committerJohannes Schickel2012-09-21 02:36:37 +0200
commit1aa12ddb967832e196ae694d34a4ba49802cab2c (patch)
treebee55678e34744b8b7bdaf035bd170f0af58c884 /engines/pegasus
parent8aceef971106ba35ab234b165dbe6e19c842f336 (diff)
downloadscummvm-rg350-1aa12ddb967832e196ae694d34a4ba49802cab2c.tar.gz
scummvm-rg350-1aa12ddb967832e196ae694d34a4ba49802cab2c.tar.bz2
scummvm-rg350-1aa12ddb967832e196ae694d34a4ba49802cab2c.zip
PEGASUS: "Fix" segmentation fault for DC toolchain when compiling shuttlehud.cpp.
It seems the explicit destructor of ShuttleHUD is problematic. When I move it's implementation to shuttlehud.cpp it does not segfault. Removing it on the other hand also does not cause it to segfault. So I chose the latter, since it has no special implementation anyway.
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/neighborhood/mars/shuttlehud.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/mars/shuttlehud.h b/engines/pegasus/neighborhood/mars/shuttlehud.h
index dc1c7598b5..f7dbbaeae8 100644
--- a/engines/pegasus/neighborhood/mars/shuttlehud.h
+++ b/engines/pegasus/neighborhood/mars/shuttlehud.h
@@ -34,7 +34,6 @@ namespace Pegasus {
class ShuttleHUD : public DisplayElement, public Idler {
public:
ShuttleHUD();
- virtual ~ShuttleHUD() {}
void showTargetGrid();
void hideTargetGrid();