aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-01-28 08:40:30 +0000
committerMax Horn2008-01-28 08:40:30 +0000
commit0728aa0d7f457579724ec145685795eb76478148 (patch)
tree41c6d9a91ff30a9f400bfe5859fa33f341efc173
parentd6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd (diff)
downloadscummvm-rg350-0728aa0d7f457579724ec145685795eb76478148.tar.gz
scummvm-rg350-0728aa0d7f457579724ec145685795eb76478148.tar.bz2
scummvm-rg350-0728aa0d7f457579724ec145685795eb76478148.zip
Forward declare HashMap::ConstIterator (this might fix compile errors with some old GCC versions)
svn-id: r30670
-rw-r--r--common/hashmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index ac4295307b..98ad9c31c8 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -116,6 +116,8 @@ public:
int lookupAndCreateIfMissing(const Key &key);
void expand_array(uint newsize);
+ class ConstIterator;
+
/**
* Simple HashMap iterator implementation.
*/