forked from premiere/premiere-libtorrent
missing explicit in merge from RC_1_1
This commit is contained in:
parent
680ca6ea2b
commit
071c95ec90
|
@ -213,7 +213,7 @@ namespace libtorrent {
|
|||
struct increment_guard
|
||||
{
|
||||
int& m_cnt;
|
||||
increment_guard(int& c) : m_cnt(c) { TORRENT_ASSERT(m_cnt >= 0); ++m_cnt; }
|
||||
explicit increment_guard(int& c) : m_cnt(c) { TORRENT_ASSERT(m_cnt >= 0); ++m_cnt; }
|
||||
~increment_guard() { --m_cnt; TORRENT_ASSERT(m_cnt >= 0); }
|
||||
private:
|
||||
increment_guard(increment_guard const&);
|
||||
|
|
Loading…
Reference in New Issue