projects
/
taglib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa4195
)
Actually overwrite the value, as documented.
author
Scott Wheeler
<wheeler@kde.org>
Tue, 13 Feb 2007 05:43:10 +0000
(
05:43
+0000)
committer
Scott Wheeler
<wheeler@kde.org>
Tue, 13 Feb 2007 05:43:10 +0000
(
05:43
+0000)
BUG:141496
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@633078
283d02a7
-25f6-0310-bc7c-
ecb5cbfe19da
taglib/toolkit/tmap.tcc
patch
|
blob
|
history
diff --git
a/taglib/toolkit/tmap.tcc
b/taglib/toolkit/tmap.tcc
index d408d394addd143bbb1baf6dedcff6d3ec350e3d..b01517ec172ee87c8bbfe35cb2a51c37ff490567 100644
(file)
--- a/
taglib/toolkit/tmap.tcc
+++ b/
taglib/toolkit/tmap.tcc
@@
-84,8
+84,7
@@
template <class Key, class T>
Map<Key, T> &Map<Key, T>::insert(const Key &key, const T &value)
{
detach();
- std::pair<Key, T> item(key, value);
- d->map.insert(item);
+ d->map[key] = value;
return *this;
}