Skip to content

Commit 75c852e

Browse files
committed
Mark method const
1 parent 768dec3 commit 75c852e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver/http_response.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class http_response
187187
* Method used to get the response code from the response
188188
* @return The response code
189189
**/
190-
int get_response_code()
190+
int get_response_code() const
191191
{
192192
return this->response_code;
193193
}

0 commit comments

Comments
 (0)