ekiga r7859 - trunk/lib/engine/components/local-roster
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7859 - trunk/lib/engine/components/local-roster
- Date: Wed, 15 Apr 2009 13:51:17 +0000 (UTC)
Author: jpuydt
Date: Wed Apr 15 13:51:17 2009
New Revision: 7859
URL: http://svn.gnome.org/viewvc/ekiga?rev=7859&view=rev
Log:
I love STL iterators (fixing bug #578752)
Modified:
trunk/lib/engine/components/local-roster/local-heap.cpp
Modified: trunk/lib/engine/components/local-roster/local-heap.cpp
==============================================================================
--- trunk/lib/engine/components/local-roster/local-heap.cpp (original)
+++ trunk/lib/engine/components/local-roster/local-heap.cpp Wed Apr 15 13:51:17 2009
@@ -166,8 +166,10 @@
bool test (Local::PresentityPtr presentity)
{
- groups.insert (presentity->get_groups ().begin (),
- presentity->get_groups ().end ());
+ const std::set<std::string> presentity_groups = presentity->get_groups ();
+
+ groups.insert (presentity_groups.begin (),
+ presentity_groups.end ());
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]