Loading src/exception.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -51,8 +51,8 @@ int netplus::NetException::getErrorType() const{ return curCType; } const std::string &netplus::NetException::what() const{ return msg; const char* netplus::NetException::what() const noexcept { return msg.c_str(); } netplus::NetException& netplus::NetException::append(const std::string& src){ Loading src/exception.h +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ namespace netplus { int getErrorType() const; const std::string &what() const; const char* what() const noexcept override; enum Type {Note=0,Warning=-1,Error=-2,Critical=-3,Close=-4}; Loading Loading
src/exception.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -51,8 +51,8 @@ int netplus::NetException::getErrorType() const{ return curCType; } const std::string &netplus::NetException::what() const{ return msg; const char* netplus::NetException::what() const noexcept { return msg.c_str(); } netplus::NetException& netplus::NetException::append(const std::string& src){ Loading
src/exception.h +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ namespace netplus { int getErrorType() const; const std::string &what() const; const char* what() const noexcept override; enum Type {Note=0,Warning=-1,Error=-2,Critical=-3,Close=-4}; Loading