Commit d16f10fa authored by jan.koester's avatar jan.koester
Browse files

test

parent 921471e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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){
+1 −1
Original line number Diff line number Diff line
@@ -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);