This commit is contained in:
Pavel Kirienko
2014-03-08 23:08:30 +04:00
parent 395710b781
commit fb329a2f0a
@@ -163,8 +163,7 @@ class TransferListener : public TransferListenerBase, Noncopyable
* TransferReceivers do not own their buffers - this helps the Map<> container to copy them
* around quickly and safely (using default assignment operator). Downside is that we need to
* destroy the buffers manually.
* Maybe it is not good that the predicate is being used as mapping functor, but I ran out
* of better ideas.
* Maybe it is not good that the predicate has side effects, but I ran out of better ideas.
*/
bufmgr_.remove(key);
return true;