fix typo and extra ::alert
This commit is contained in:
parent
7b98af8145
commit
0b83b6b6df
|
@ -249,7 +249,7 @@ namespace libtorrent {
|
||||||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||||
|
|
||||||
// determines whether or not an alert is allowed to be discarded
|
// determines whether or not an alert is allowed to be discarded
|
||||||
// when the alert queue is full. There are a few alerts which may not be discared,
|
// when the alert queue is full. There are a few alerts which may not be discarded,
|
||||||
// since they would break the user contract, such as save_resume_data_alert.
|
// since they would break the user contract, such as save_resume_data_alert.
|
||||||
TORRENT_DEPRECATED
|
TORRENT_DEPRECATED
|
||||||
bool discardable() const { return discardable_impl(); }
|
bool discardable() const { return discardable_impl(); }
|
||||||
|
|
|
@ -77,7 +77,7 @@ namespace libtorrent {
|
||||||
constexpr alert_category_t alert::picker_log_notification;
|
constexpr alert_category_t alert::picker_log_notification;
|
||||||
constexpr alert_category_t alert::all_categories;
|
constexpr alert_category_t alert::all_categories;
|
||||||
#ifndef TORRENT_NO_DEPRECATE
|
#ifndef TORRENT_NO_DEPRECATE
|
||||||
constexpr alert_category_t alert::alert::rss_notification;
|
constexpr alert_category_t alert::rss_notification;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
alert::alert() : m_timestamp(clock_type::now()) {}
|
alert::alert() : m_timestamp(clock_type::now()) {}
|
||||||
|
|
Loading…
Reference in New Issue