1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
diff -urdb ekiga-3.3.0.orig/plugins/resource-list/rl-heap.cpp ekiga-3.3.0/plugins/resource-list/rl-heap.cpp
--- ekiga-3.3.0.orig/plugins/resource-list/rl-heap.cpp 2010-11-04 20:43:15.000000000 +0300
+++ ekiga-3.3.0/plugins/resource-list/rl-heap.cpp 2011-03-31 01:30:37.000000000 +0400
@@ -185,7 +185,7 @@
{
bool go_on = true;
- for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator
+ for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator
iter = presentities.begin ();
go_on && iter != presentities.end ();
++iter)
@@ -254,7 +254,7 @@
while ( !presentities.empty ()) {
presentities.begin()->first->removed ();
- for (std::list<boost::signals::connection>::iterator iter2
+ for (std::list<boost::signals::connection>::const_iterator iter2
= presentities.begin()->second.begin ();
iter2 != presentities.begin()->second.end ();
++iter2)
@@ -381,7 +381,7 @@
RL::Heap::push_presence (const std::string uri_,
const std::string presence)
{
- for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator
+ for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator
iter = presentities.begin ();
iter != presentities.end ();
++iter) {
@@ -395,7 +395,7 @@
RL::Heap::push_status (const std::string uri_,
const std::string status)
{
- for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator
+ for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator
iter = presentities.begin ();
iter != presentities.end ();
++iter) {
@@ -514,7 +514,7 @@
"contact on a remote server"));
std::set<std::string> all_groups;
- for (std::map<PresentityPtr,std::list<boost::signals::connection> >::iterator
+ for (std::map<PresentityPtr,std::list<boost::signals::connection> >::const_iterator
iter = presentities.begin ();
iter != presentities.end ();
++iter) {
|