mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-27 00:43:47 +00:00
Make is_submit_page() const
This commit is contained in:
parent
17a5009f1f
commit
b14aae1fe9
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue