aboutsummaryrefslogtreecommitdiff
path: root/plugins/HotExamples.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HotExamples.hpp')
-rw-r--r--plugins/HotExamples.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HotExamples.hpp b/plugins/HotExamples.hpp
index 154f1ab..73bc150 100644
--- a/plugins/HotExamples.hpp
+++ b/plugins/HotExamples.hpp
@@ -10,7 +10,7 @@ namespace QuickMedia {
HotExamplesLanguageSelectPage(Program *program) : Page(program) {}
const char* get_title() const override { return "Select language"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
};
class HotExamplesSearchPage : public Page {
@@ -29,7 +29,7 @@ namespace QuickMedia {
HotExamplesCodeExamplesPage(Program *program, std::string title) : Page(program), title(std::move(title)) {}
const char* get_title() const override { return title.c_str(); }
PluginResult submit(const std::string&, const std::string&, std::vector<Tab>&) override { return PluginResult::OK; }
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
private:
std::string title;
};