diff --git a/src/kamokan_impl/edit_response.hpp b/src/kamokan_impl/edit_response.hpp index 515c4e0..0ec19af 100644 --- a/src/kamokan_impl/edit_response.hpp +++ b/src/kamokan_impl/edit_response.hpp @@ -36,6 +36,6 @@ namespace kamokan { private: virtual void on_general_mustache_prepare (std::string&& parPastie, mstch::map& parContext) override; virtual tawashi::HttpHeader on_general_pastie_process() override; - virtual bool is_submit_page() override { return true; } + virtual bool is_submit_page() const override { return true; } }; } //namespace kamokan diff --git a/src/kamokan_impl/index_response.hpp b/src/kamokan_impl/index_response.hpp index dd1c073..d4db20a 100644 --- a/src/kamokan_impl/index_response.hpp +++ b/src/kamokan_impl/index_response.hpp @@ -31,7 +31,7 @@ namespace kamokan { protected: virtual boost::string_view page_basename() const override { return boost::string_view("index"); } - virtual bool is_submit_page() override { return true; } + virtual bool is_submit_page() const override { return true; } private: }; diff --git a/src/kamokan_impl/response.hpp b/src/kamokan_impl/response.hpp index 68e9320..c19bc18 100644 --- a/src/kamokan_impl/response.hpp +++ b/src/kamokan_impl/response.hpp @@ -70,7 +70,7 @@ namespace kamokan { virtual void on_mustache_prepare (mstch::map& parContext); virtual std::string on_mustache_retrieve(); virtual std::string default_pastie_lang(); - virtual bool is_submit_page() { return false; } + virtual bool is_submit_page() const { return false; } virtual bool is_pastie_page() const { return false; } Storage m_storage;