fix typo and extra ::alert

This commit is contained in:
Alden Torres 2017-08-05 17:09:36 -04:00 committed by Arvid Norberg
parent 7b98af8145
commit 0b83b6b6df
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ namespace libtorrent {
#include "libtorrent/aux_/disable_warnings_push.hpp"
// 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.
TORRENT_DEPRECATED
bool discardable() const { return discardable_impl(); }

View File

@ -77,7 +77,7 @@ namespace libtorrent {
constexpr alert_category_t alert::picker_log_notification;
constexpr alert_category_t alert::all_categories;
#ifndef TORRENT_NO_DEPRECATE
constexpr alert_category_t alert::alert::rss_notification;
constexpr alert_category_t alert::rss_notification;
#endif
alert::alert() : m_timestamp(clock_type::now()) {}