fixed msvc warning
This commit is contained in:
parent
8c91fff1d6
commit
0433a32857
|
@ -115,7 +115,7 @@ namespace libtorrent {
|
||||||
std::auto_ptr<alert> get();
|
std::auto_ptr<alert> get();
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
bool should_post() const { return m_alert_mask & T::static_category; }
|
bool should_post() const { return (m_alert_mask & T::static_category) != 0; }
|
||||||
|
|
||||||
alert const* wait_for_alert(time_duration max_wait);
|
alert const* wait_for_alert(time_duration max_wait);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue