Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2007, 10:00:43 PM (17 years ago)
Author:
scheusso
Message:

using stl-map and stl-vector in ConnectionManaget should now work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/ConnectionManager.cc

    r380 r381  
    1212#include "ConnectionManager.h"
    1313
     14namespace std{
     15  bool operator< (ENetAddress a, ENetAddress b){
     16    if(a.host <= b.host)
     17      return true;
     18    else
     19      return false;
     20  }
     21}
     22
    1423namespace network{
    1524
    1625  boost::thread_group network_threads;
    17 
     26 
    1827  ConnectionManager::ConnectionManager(){
    1928    quit=false;
Note: See TracChangeset for help on using the changeset viewer.