]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/submessage.h
Use the override specifier when overriding
[libs/net.git] / source / http / submessage.h
index f60276a9267c7c6997215e7a01db49e01cf5a137..7ef9e376ddb5334f6e39daa69572c2852b29c2ab 100644 (file)
@@ -9,10 +9,10 @@ namespace Http {
 class SubMessage: public Message
 {
 private:
-       SubMessage() { }
+       SubMessage() = default;
 
 public:
-       virtual std::string str() const;
+       std::string str() const override;
 
        static SubMessage parse(const std::string &);
 };