Changeset 206 for trunk/src/shared

Show
Ignore:
Timestamp:
11/19/08 13:46:16 (17 years ago)
Author:
yumileroy
Message:

[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes

Original author: KingPin?
Date: 2008-11-10 06:53:00-06:00

Location:
trunk/src/shared
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/shared/Common.h

    r112 r206  
    8484#endif                                                      // __GNUC__ 
    8585 
    86 #include "Utilities/HashMap.h" 
     86#include "Utilities/UnorderedMap.h" 
    8787#include <stdio.h> 
    8888#include <stdlib.h> 
  • trunk/src/shared/Database/Database.h

    r173 r206  
    2424#include "zthread/Thread.h" 
    2525#include "../src/zthread/ThreadImpl.h" 
    26 #include "Utilities/HashMap.h" 
     26#include "Utilities/UnorderedMap.h" 
    2727#include "Database/SqlDelayThread.h" 
    2828 
     
    3131class SqlQueryHolder; 
    3232 
    33 typedef HM_NAMESPACE::hash_map<ZThread::ThreadImpl*, SqlTransaction*> TransactionQueues; 
    34 typedef HM_NAMESPACE::hash_map<ZThread::ThreadImpl*, SqlResultQueue*> QueryQueues; 
     33typedef UNORDERED_MAP<ZThread::ThreadImpl*, SqlTransaction*> TransactionQueues; 
     34typedef UNORDERED_MAP<ZThread::ThreadImpl*, SqlResultQueue*> QueryQueues; 
    3535 
    3636#define MAX_QUERY_LEN   1024