diff options
author | joerg <joerg> | 2013-06-16 20:40:40 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-06-16 20:40:40 +0000 |
commit | b7cc89ec507fe56a7836d04cf6955cfeddc4dee7 (patch) | |
tree | 38f9e03a82abbdc654aa54efb03de4c4e0386d67 /games/criticalmass/patches/patch-game_ModelManager.cpp | |
parent | 19bdcee3fb419045c15f9b8da562ce96390352c2 (diff) | |
download | pkgsrc-b7cc89ec507fe56a7836d04cf6955cfeddc4dee7.tar.gz |
Disambiguate hash references.
Diffstat (limited to 'games/criticalmass/patches/patch-game_ModelManager.cpp')
-rw-r--r-- | games/criticalmass/patches/patch-game_ModelManager.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/criticalmass/patches/patch-game_ModelManager.cpp b/games/criticalmass/patches/patch-game_ModelManager.cpp new file mode 100644 index 00000000000..2122c798e9a --- /dev/null +++ b/games/criticalmass/patches/patch-game_ModelManager.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-game_ModelManager.cpp,v 1.1 2013/06/16 20:40:40 joerg Exp $ + +--- game/ModelManager.cpp.orig 2013-06-15 10:08:34.000000000 +0000 ++++ game/ModelManager.cpp +@@ -26,7 +26,7 @@ ModelManager::~ModelManager() + { + XTRACE(); + +- hash_map< string, Model*, hash<string> >::const_iterator ci; ++ hash_map< string, Model*, HASH_NAMESPACE::hash<string> >::const_iterator ci; + for( ci=_modelMap.begin(); ci!=_modelMap.end(); ci++) + { + delete ci->second; +@@ -39,7 +39,7 @@ void ModelManager::reload( void) + { + XTRACE(); + +- hash_map< string, Model*, hash<string> >::const_iterator ci; ++ hash_map< string, Model*, HASH_NAMESPACE::hash<string> >::const_iterator ci; + for( ci=_modelMap.begin(); ci!=_modelMap.end(); ci++) + { + ci->second->reload(); |