summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index 70779bdc57..6c40be3f62 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -99,10 +99,8 @@ private:
~contacts_list()
{
- for (auto it = m_cache.begin(); it != m_cache.end(); ++it)
- {
- mir_free(it->second);
- }
+ for (auto &it : m_cache)
+ mir_free(it.second);
}
const char* operator[](MCONTACT hContact)