diff --git a/include/libtorrent/alert.hpp b/include/libtorrent/alert.hpp index 3a7ab60ac..a918cb544 100644 --- a/include/libtorrent/alert.hpp +++ b/include/libtorrent/alert.hpp @@ -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(); } diff --git a/src/alert.cpp b/src/alert.cpp index 033c45204..aa7c78dc7 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -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()) {}