From 0b83b6b6df1e6e00afc1661f85988d3ed4ce0c56 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Sat, 5 Aug 2017 17:09:36 -0400 Subject: [PATCH] fix typo and extra ::alert --- include/libtorrent/alert.hpp | 2 +- src/alert.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()) {}