Commit 0edf3ade authored by jan.koester's avatar jan.koester
Browse files

test

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