Commit b9e1951b authored by Ronan's avatar Ronan

feat(belcard): use override when possible

parent f8a21771
This diff is collapsed.
......@@ -70,7 +70,7 @@ namespace belcard {
BELCARD_PUBLIC void setLabelParam(const std::shared_ptr<BelCardLabelParam> &param);
BELCARD_PUBLIC const std::shared_ptr<BelCardLabelParam> &getLabelParam() const;
BELCARD_PUBLIC virtual void serialize(std::ostream &output) const;
BELCARD_PUBLIC void serialize(std::ostream &output) const override;
};
}
......
......@@ -52,8 +52,8 @@ namespace belcard {
BELCARD_PUBLIC static std::shared_ptr<BelCardImpp> parse(const std::string& input);
BELCARD_PUBLIC static void setHandlerAndCollectors(belr::Parser<std::shared_ptr<BelCardGeneric>> *parser);
BELCARD_PUBLIC virtual void setValue(const std::string &value);
BELCARD_PUBLIC virtual void serialize(std::ostream &output) const;
BELCARD_PUBLIC void setValue(const std::string &value) override;
BELCARD_PUBLIC void serialize(std::ostream &output) const override;
BELCARD_PUBLIC BelCardImpp();
};
......
......@@ -67,7 +67,7 @@ namespace belcard {
BELCARD_PUBLIC void setSuffixes(const std::string &value);
BELCARD_PUBLIC const std::string &getSuffixes() const;
BELCARD_PUBLIC virtual void serialize(std::ostream &output) const;
BELCARD_PUBLIC void serialize(std::ostream &output) const override;
};
class BelCardNickname : public BelCardProperty {
......
......@@ -48,7 +48,7 @@ namespace belcard {
BELCARD_PUBLIC virtual void setValue(const std::string &value) ;
BELCARD_PUBLIC virtual const std::string &getValue() const;
BELCARD_PUBLIC virtual void serialize(std::ostream &output) const;
BELCARD_PUBLIC void serialize(std::ostream &output) const override;
};
class BelCardLanguageParam : public BelCardParam {
......
......@@ -114,7 +114,7 @@ namespace belcard {
BELCARD_PUBLIC virtual const std::list<std::shared_ptr<BelCardParam>> &getParams() const;
BELCARD_PUBLIC virtual void removeParam(const std::shared_ptr<BelCardParam> &param);
BELCARD_PUBLIC virtual void serialize(std::ostream &output) const;
BELCARD_PUBLIC void serialize(std::ostream &output) const override;
};
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment