diff --git a/include/frnetlib/HttpRequest.h b/include/frnetlib/HttpRequest.h index 1c9a4c9..8d01450 100644 --- a/include/frnetlib/HttpRequest.h +++ b/include/frnetlib/HttpRequest.h @@ -73,7 +73,6 @@ namespace fr //State bool header_ended; - int32_t last_parsed_character; size_t content_length; }; diff --git a/src/HttpRequest.cpp b/src/HttpRequest.cpp index c469e04..bacba04 100644 --- a/src/HttpRequest.cpp +++ b/src/HttpRequest.cpp @@ -9,7 +9,6 @@ namespace fr { HttpRequest::HttpRequest() : header_ended(false), - last_parsed_character(0), content_length(0) { diff --git a/src/TcpSocket.cpp b/src/TcpSocket.cpp index 60e4340..3e3befc 100644 --- a/src/TcpSocket.cpp +++ b/src/TcpSocket.cpp @@ -18,7 +18,7 @@ namespace fr } - TcpSocket::~TcpSocket() noexcept + TcpSocket::~TcpSocket() { close_socket(); }