fixed msvc warning

This commit is contained in:
Arvid Norberg 2008-07-20 10:35:51 +00:00
parent 8c91fff1d6
commit 0433a32857
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ namespace libtorrent {
std::auto_ptr<alert> get();
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);