]> 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 d721ad804a4d7ea7aab8ee8a89812d644e9001ba..f7c6812c46c9be4472ab18fcd642a52568f44991 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef MSP_HTTP_RESPONSE_H_
-#define MSP_HTTO_RESPONSE_H_
+#define MSP_HTTP_RESPONSE_H_
 
 #include "message.h"
 #include "status.h"
@@ -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 &);
 };