removed stray space

This commit is contained in:
Arvid Norberg 2008-01-14 17:25:08 +00:00
parent b19bf337bf
commit 97511f2819
2 changed files with 3 additions and 2 deletions

View File

@ -114,7 +114,7 @@ private:
typedef boost::array<observer_ptr, max_transactions>
transactions_t;
transactions_t m_transactions;
std::vector<observer_ptr > m_aborted_transactions;
std::vector<observer_ptr> m_aborted_transactions;
// this is the next transaction id to be used
int m_next_transaction_id;

View File

@ -121,6 +121,7 @@ rpc_manager::rpc_manager(fun const& f, node_id const& our_id
rpc_manager::~rpc_manager()
{
TORRENT_ASSERT(!m_destructing);
m_destructing = true;
#ifdef TORRENT_DHT_VERBOSE_LOGGING
TORRENT_LOG(rpc) << "Destructing";
@ -308,7 +309,7 @@ time_duration rpc_manager::tick()
// clear the aborted transactions, will likely
// generate new requests. We need to swap, since the
// destrutors may add more observers to the m_aborted_transactions
std::vector<observer_ptr >().swap(m_aborted_transactions);
std::vector<observer_ptr>().swap(m_aborted_transactions);
return milliseconds(timeout_ms);
}