Ignore:
Timestamp:
Nov 13, 2009, 8:05:41 PM (15 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/connectionmap.h

    r5284 r6922  
    3131
    3232#include "assocdata.h"
    33 #include <ext/hash_map>
     33#include <boost/unordered_map.hpp>
     34using boost::unordered_map;
    3435
    3536namespace protlib {
     37
     38
    3639
    3740/* @class ConnectionMap
     
    6265                size_t get_size() const;
    6366        private:
    64                 // this hash_map uses the standard hashfunction on the first entry, int
     67                // this unordered_map uses the standard hashfunction on the first entry, int
    6568               
    6669                // only typedefs
    67                 typedef hash_map<socketfd_t ,AssocData*> ass2data_t;
     70                typedef unordered_map<socketfd_t ,AssocData*> ass2data_t;
    6871                typedef ass2data_t::const_iterator const_ass2data_it_t;
    69                 typedef hash_map<appladdress,AssocData*> addr2data_t;
     72                typedef unordered_map<appladdress,AssocData*> addr2data_t;
    7073                typedef addr2data_t::const_iterator const_addr2data_it_t;
    7174
Note: See TracChangeset for help on using the changeset viewer.