summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-13 12:52:43 +0000
committerrubidium <rubidium@openttd.org>2010-12-13 12:52:43 +0000
commit2e9108afe9d16e74b7730691d204316dafcbfc30 (patch)
treed94ee553c7f76ae499a3e7858080fbd8b7873b00 /src
parent7ecb00547b0f947bf49d31cb2738776c15344ccb (diff)
downloadopenttd-2e9108afe9d16e74b7730691d204316dafcbfc30.tar.xz
(svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about
Diffstat (limited to 'src')
-rw-r--r--src/tilearea_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tilearea_type.h b/src/tilearea_type.h
index 01cffefae..44a2ba3c2 100644
--- a/src/tilearea_type.h
+++ b/src/tilearea_type.h
@@ -72,6 +72,11 @@ protected:
TileIterator(TileIndex tile) : tile(tile)
{
}
+
+ /** Some compilers really like this. */
+ virtual ~TileIterator()
+ {
+ }
public:
/**
* Get the tile we are currently at.