diff options
author | 2023-03-18 21:56:57 +0300 | |
---|---|---|
committer | 2023-03-18 22:39:56 +0300 | |
commit | 383dac266d7e4da153e7509a198713c73e58327f (patch) | |
tree | 0fd2beb201bcbe060e7cbe7e17d8a735ce1118be /test/remoteapi.cpp | |
parent | 53b9b3735c0b7a167035b7aa46086e1a37f0c166 (diff) | |
download | newsboat-383dac266d7e4da153e7509a198713c73e58327f.tar.gz newsboat-383dac266d7e4da153e7509a198713c73e58327f.tar.zst newsboat-383dac266d7e4da153e7509a198713c73e58327f.zip |
Mark overriden virtual functions with `override`
This fixes a cppcheck warning.
Diffstat (limited to '')
-rw-r--r-- | test/remoteapi.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/remoteapi.cpp b/test/remoteapi.cpp index 7cd1e9bf..6bf3eee5 100644 --- a/test/remoteapi.cpp +++ b/test/remoteapi.cpp @@ -26,29 +26,29 @@ public: { return get_credentials(scope, name).pass; } - bool authenticate() + bool authenticate() override { throw 0; } - std::vector<TaggedFeedUrl> get_subscribed_urls() + std::vector<TaggedFeedUrl> get_subscribed_urls() override { throw 0; } - void add_custom_headers(curl_slist**) + void add_custom_headers(curl_slist**) override { throw 0; } - bool mark_all_read(const std::string&) + bool mark_all_read(const std::string&) override { throw 0; } - bool mark_article_read(const std::string&, bool) + bool mark_article_read(const std::string&, bool) override { throw 0; } bool update_article_flags(const std::string&, const std::string&, - const std::string&) + const std::string&) override { throw 0; } |