mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Actually overwrite the value, as documented.
BUG:141496 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@633078 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
2aa4195807
commit
2e8c6ea0f4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user