aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/content/blog/Blog.hpp12
-rw-r--r--src/content/markdown/Markdown.hpp12
-rw-r--r--src/content/static/Static.hpp12
3 files changed, 18 insertions, 18 deletions
diff --git a/src/content/blog/Blog.hpp b/src/content/blog/Blog.hpp
index 637ea7b..5e59ec4 100644
--- a/src/content/blog/Blog.hpp
+++ b/src/content/blog/Blog.hpp
@@ -34,13 +34,13 @@ class Blog : public Content
public:
explicit Blog(std::string uriBasePath, std::string blogPath, std::string mainTemplatePath);
- bool Init();
- void Shutdown();
- bool Render(RequestResponse & rr, RenderData & rd, std::string & out);
+ bool Init() override;
+ void Shutdown() override;
+ bool Render(RequestResponse & rr, RenderData & rd, std::string & out) override;
- std::string & GetUriBasePath();
- std::string const & GetMainTemplate() const;
- Redirections & GetRedirections();
+ std::string & GetUriBasePath() override;
+ std::string const & GetMainTemplate() const override;
+ Redirections & GetRedirections() override;
static bool ValidateAndSetMetdadata(BlogMetadata const & blogMetadata, BlogEntry & blogEntry);
bool ValidateEntries();
diff --git a/src/content/markdown/Markdown.hpp b/src/content/markdown/Markdown.hpp
index dfb6451..04b351c 100644
--- a/src/content/markdown/Markdown.hpp
+++ b/src/content/markdown/Markdown.hpp
@@ -12,13 +12,13 @@ public:
explicit Markdown(std::string uriBasePath, std::string markdownFilesPath, std::string mainTemplatePath = "");
bool Init(std::string const & uriBasePath);
- bool Init();
- void Shutdown();
- bool Render(RequestResponse & rr, RenderData & rd, std::string & out);
+ bool Init() override;
+ void Shutdown() override;
+ bool Render(RequestResponse & rr, RenderData & rd, std::string & out) override;
- std::string & GetUriBasePath();
- std::string const & GetMainTemplate() const;
- Redirections & GetRedirections();
+ std::string & GetUriBasePath() override;
+ std::string const & GetMainTemplate() const override;
+ Redirections & GetRedirections() override;
bool HasMarkdownFile(std::string filePath) const;
bool HasMarkdownURI(std::string uriPath) const;
diff --git a/src/content/static/Static.hpp b/src/content/static/Static.hpp
index 8d702ec..94cb63b 100644
--- a/src/content/static/Static.hpp
+++ b/src/content/static/Static.hpp
@@ -9,13 +9,13 @@ class Static : public Content
public:
explicit Static(std::string uriBasePath, std::shared_ptr<Filesystem> const & fs);
- bool Init();
- void Shutdown();
- bool Render(RequestResponse & rr, RenderData & rd, std::string & out);
+ bool Init() override;
+ void Shutdown() override;
+ bool Render(RequestResponse & rr, RenderData & rd, std::string & out) override;
- std::string & GetUriBasePath();
- std::string const & GetMainTemplate() const;
- Redirections & GetRedirections();
+ std::string & GetUriBasePath() override;
+ std::string const & GetMainTemplate() const override;
+ Redirections & GetRedirections() override;
private:
std::string m_UriBasePath;