1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-12-23 21:25:43 +00:00

Make is_submit_page() const

This commit is contained in:
King_DuckZ 2017-06-19 15:46:29 +01:00
parent 17a5009f1f
commit b14aae1fe9
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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:
};

View file

@ -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;