This commit is contained in:
Pavel Kirienko
2014-02-13 13:04:50 +04:00
parent 2d2116f624
commit 328f98e605
@@ -158,9 +158,9 @@ class TransferListener : public TransferListenerBase, Noncopyable
{ {
/* /*
* TransferReceivers do not own their buffers - this helps the Map<> container to copy them * TransferReceivers do not own their buffers - this helps the Map<> container to copy them
* around quickly and safely (using default operator==()). Downside is that we need to destroy * around quickly and safely (using default assignment operator). Downside is that we need to
* the buffers manually. * destroy the buffers manually.
* Maybe it is not good that the predicate is being using as mapping functor, but I ran out * Maybe it is not good that the predicate is being used as mapping functor, but I ran out
* of better ideas. * of better ideas.
*/ */
bufmgr_.remove(key); bufmgr_.remove(key);