summaryrefslogtreecommitdiff
path: root/games/criticalmass/patches/patch-game_ParticleGroup.hpp
blob: 417248399bd85a6a322fafcab55c7610c62bc49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-game_ParticleGroup.hpp,v 1.1 2013/06/16 20:40:40 joerg Exp $

--- game/ParticleGroup.hpp.orig	2013-06-15 10:04:38.000000000 +0000
+++ game/ParticleGroup.hpp
@@ -86,7 +86,7 @@ public:
 
     static void destroyParticleTypes( void)
     {
-	hash_map< const string, ParticleType*, hash<const string> >::const_iterator ci;
+	hash_map< const string, ParticleType*, HASH_NAMESPACE::hash<const string> >::const_iterator ci;
 	for( ci=_particleTypeMap.begin(); ci!=_particleTypeMap.end(); ci++)
 	{
 	    //don't delete hero!
@@ -104,7 +104,7 @@ private:
 
     //All Particle manager share the particleTypeMap
     static hash_map< 
-        const string, ParticleType*, hash<const string>, equal_to<const string> > _particleTypeMap;
+        const string, ParticleType*, HASH_NAMESPACE::hash<const string>, equal_to<const string> > _particleTypeMap;
 
     ParticleInfo *_particles;