Loading src/exception.cpp +2 −2 Changes for src/exception.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -49,8 +49,8 @@ int libhttppp::HTTPException::getErrorType() const{ return _curCType; } const std::string &libhttppp::HTTPException::what() const{ return _Msg; const char* libhttppp::HTTPException::what() const noexcept { return _Msg.c_str(); } libhttppp::HTTPException& libhttppp::HTTPException::append(const std::string &src){ Loading src/exception.h +1 −1 Changes for src/exception.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ namespace libhttppp { HTTPException(const HTTPException &exp); virtual ~HTTPException(); int getErrorType() const; const std::string &what() const; const char* what() const noexcept override; HTTPException& append(const std::string &src); HTTPException& operator[](int errtype); HTTPException& operator<<(const std::string& src); Loading Loading
src/exception.cpp +2 −2 Changes for src/exception.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -49,8 +49,8 @@ int libhttppp::HTTPException::getErrorType() const{ return _curCType; } const std::string &libhttppp::HTTPException::what() const{ return _Msg; const char* libhttppp::HTTPException::what() const noexcept { return _Msg.c_str(); } libhttppp::HTTPException& libhttppp::HTTPException::append(const std::string &src){ Loading
src/exception.h +1 −1 Changes for src/exception.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ namespace libhttppp { HTTPException(const HTTPException &exp); virtual ~HTTPException(); int getErrorType() const; const std::string &what() const; const char* what() const noexcept override; HTTPException& append(const std::string &src); HTTPException& operator[](int errtype); HTTPException& operator<<(const std::string& src); Loading