Lines 185-191
Link Here
|
185 |
{ |
185 |
{ |
186 |
bool go_on = true; |
186 |
bool go_on = true; |
187 |
|
187 |
|
188 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator |
188 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator |
189 |
iter = presentities.begin (); |
189 |
iter = presentities.begin (); |
190 |
go_on && iter != presentities.end (); |
190 |
go_on && iter != presentities.end (); |
191 |
++iter) |
191 |
++iter) |
Lines 254-260
Link Here
|
254 |
while ( !presentities.empty ()) { |
254 |
while ( !presentities.empty ()) { |
255 |
|
255 |
|
256 |
presentities.begin()->first->removed (); |
256 |
presentities.begin()->first->removed (); |
257 |
for (std::list<boost::signals::connection>::iterator iter2 |
257 |
for (std::list<boost::signals::connection>::const_iterator iter2 |
258 |
= presentities.begin()->second.begin (); |
258 |
= presentities.begin()->second.begin (); |
259 |
iter2 != presentities.begin()->second.end (); |
259 |
iter2 != presentities.begin()->second.end (); |
260 |
++iter2) |
260 |
++iter2) |
Lines 381-387
Link Here
|
381 |
RL::Heap::push_presence (const std::string uri_, |
381 |
RL::Heap::push_presence (const std::string uri_, |
382 |
const std::string presence) |
382 |
const std::string presence) |
383 |
{ |
383 |
{ |
384 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator |
384 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator |
385 |
iter = presentities.begin (); |
385 |
iter = presentities.begin (); |
386 |
iter != presentities.end (); |
386 |
iter != presentities.end (); |
387 |
++iter) { |
387 |
++iter) { |
Lines 395-401
Link Here
|
395 |
RL::Heap::push_status (const std::string uri_, |
395 |
RL::Heap::push_status (const std::string uri_, |
396 |
const std::string status) |
396 |
const std::string status) |
397 |
{ |
397 |
{ |
398 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator |
398 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator |
399 |
iter = presentities.begin (); |
399 |
iter = presentities.begin (); |
400 |
iter != presentities.end (); |
400 |
iter != presentities.end (); |
401 |
++iter) { |
401 |
++iter) { |
Lines 514-520
Link Here
|
514 |
"contact on a remote server")); |
514 |
"contact on a remote server")); |
515 |
|
515 |
|
516 |
std::set<std::string> all_groups; |
516 |
std::set<std::string> all_groups; |
517 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator |
517 |
for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator |
518 |
iter = presentities.begin (); |
518 |
iter = presentities.begin (); |
519 |
iter != presentities.end (); |
519 |
iter != presentities.end (); |
520 |
++iter) { |
520 |
++iter) { |