]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/response.h
Use the override specifier when overriding
[libs/net.git] / source / http / response.h
index bb471f0de4fe80879ea7da223152b8ee4e671486..f7c6812c46c9be4472ab18fcd642a52568f44991 100644 (file)
@@ -12,11 +12,11 @@ class Response: public Message
 private:
        Status status;
 
-       Response() { }
+       Response() = default;
 public:
        Response(Status);
        Status get_status() const { return status; }
-       virtual std::string str() const;
+       std::string str() const override;
 
        static Response parse(const std::string &);
 };