- Timestamp:
- Jul 29, 2009, 2:21:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h
r5414 r5420 101 101 } 102 102 103 _Service(const string& _name, const string& _info1, 104 const string& _info2, const string& _info3, const time_t& _lastseen = 0) 105 : name(_name), info1(_info1), info2(_info2), info3(_info3), lastseen(_lastseen){ 106 } 107 103 108 _Service(const _Service& rh) 104 109 : name(rh.name), info1(rh.info1), info2(rh.info2), … … 225 230 if( it != services->end() ) services->erase( it ); 226 231 227 Service s; 228 s.info1 = msg.getInfo1(); 229 s.info2 = msg.getInfo2(); 230 s.info3 = msg.getInfo3(); 231 s.lastseen = time(NULL); 232 Service s( msg.getName(), msg.getInfo1(), msg.getInfo2(), msg.getInfo3(), time(NULL)); 232 233 services->insert( std::make_pair(msg.getName(), s) ); 233 234 }
Note:
See TracChangeset
for help on using the changeset viewer.