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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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