code cleanup (map access)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@658 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
12d1739da6
commit
3c12d2c05d
|
@ -188,7 +188,7 @@ void EvolutionCalendarSource::listAllItems(RevisionMap_t &revisions)
|
|||
string modTime = getItemModTime(ecomp);
|
||||
|
||||
m_allLUIDs.insert(luid);
|
||||
revisions.insert(make_pair(luid, modTime));
|
||||
revisions[luid] = modTime;
|
||||
nextItem = nextItem->next;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ void PrefixConfigNode::readProperties(map<string, string> &props) const
|
|||
string value = it->second;
|
||||
|
||||
if (boost::starts_with(key, m_prefix)) {
|
||||
props.insert(make_pair(key.substr(m_prefix.size()), value));
|
||||
props[key.substr(m_prefix.size())] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ void SafeConfigNode::readProperties(map<string, string> &props) const
|
|||
string key = unescape(it->first);
|
||||
string value = unescape(it->second);
|
||||
|
||||
props.insert(make_pair(key, value));
|
||||
props[key] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue