diff options
Diffstat (limited to 'http-server/icn_request.h')
-rw-r--r-- | http-server/icn_request.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/http-server/icn_request.h b/http-server/icn_request.h index ec9ee198..d18a6e64 100644 --- a/http-server/icn_request.h +++ b/http-server/icn_request.h @@ -13,8 +13,7 @@ * limitations under the License. */ -#ifndef ICN_WEB_SERVER_ICNREQUEST_H_ -#define ICN_WEB_SERVER_ICNREQUEST_H_ +#pragma once #include "common.h" #include "request.h" @@ -32,6 +31,8 @@ class IcnRequest std::string method, std::string http_version); + ~IcnRequest() = default; + const std::string &getName() const; void setName(const std::string &name); @@ -51,6 +52,4 @@ class IcnRequest }; -} // end namespace icn_httpserver - -#endif // ICN_WEB_SERVER_ICNREQUEST_H_ +} // end namespace icn_httpserver
\ No newline at end of file |