Ignore:
Timestamp:
Nov 13, 2009, 8:05:41 PM (14 years ago)
Author:
mies
Message:

replaced deprecated hash_map, hash_set classes with boost
added unsigned serialization
fixed more warnings
included -Wall to Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/transport/tcpip/protlib/timer_module.h

    r5284 r6922  
    3737#define _PROTLIB__TIMER_MODULE_H
    3838
    39 #include <ext/hash_map>
     39#include <boost/unordered_map.hpp>
    4040
    4141#include "messages.h"
     
    4343#include "llhashers.h"
    4444#include "timer.h"
     45
     46using boost::unordered_map;
    4547
    4648namespace protlib {
     
    248250    void clear(bool dispose = true);
    249251  private:
    250     typedef hash_map<message::id_t,timer_id_t> mid2tid_t;
     252    typedef unordered_map<message::id_t,timer_id_t> mid2tid_t;
    251253    typedef mid2tid_t::const_iterator const_mid2tid_it_t;
    252     typedef hash_map<timer_id_t,message::id_t> tid2mid_t;
     254    typedef unordered_map<timer_id_t,message::id_t> tid2mid_t;
    253255    typedef tid2mid_t::const_iterator const_tid2mid_it_t;
    254     typedef hash_map<timer_id_t,TimerMsg*> tid2msg_t;
     256    typedef unordered_map<timer_id_t,TimerMsg*> tid2msg_t;
    255257    typedef tid2msg_t::const_iterator const_tid2msg_it_t;
    256258    mid2tid_t mid2tid;
Note: See TracChangeset for help on using the changeset viewer.