diff options
Diffstat (limited to 'plugins/stats/PeerMonitor.cc')
-rw-r--r-- | plugins/stats/PeerMonitor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/stats/PeerMonitor.cc b/plugins/stats/PeerMonitor.cc index 8a903c3..083e158 100644 --- a/plugins/stats/PeerMonitor.cc +++ b/plugins/stats/PeerMonitor.cc @@ -43,7 +43,7 @@ void PeerMonitor::peerRemoved (kt::PeerInterface *peer) TQMutexLocker lock(&mtx); - data_t::iterator it = std::tqfind(mPeers.begin(), mPeers.end(), peer); + data_t::iterator it = std::find(mPeers.begin(), mPeers.end(), peer); if(it != mPeers.end()) { @@ -73,7 +73,7 @@ void PeerMonitor::stopped () void PeerMonitor::destroyed () { - if(pmPeerMMgr -> tqfind(pmTorIface -> getInfoHash()) != pmPeerMMgr -> end() ) + if(pmPeerMMgr -> find(pmTorIface -> getInfoHash()) != pmPeerMMgr -> end() ) { pmTorIface -> setMonitor(0); pmPeerMMgr -> erase(pmTorIface -> getInfoHash()); |