X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fresponse.h;h=f7c6812c46c9be4472ab18fcd642a52568f44991;hb=f97f21c17f24e1d426e5b5863676071a5809b185;hp=d721ad804a4d7ea7aab8ee8a89812d644e9001ba;hpb=debe1004676d5431e571d9c4361072661dcc88c4;p=libs%2Fnet.git diff --git a/source/http/response.h b/source/http/response.h index d721ad8..f7c6812 100644 --- a/source/http/response.h +++ b/source/http/response.h @@ -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 &); };