This commit is contained in:
IMback 2017-11-07 14:56:56 +01:00
parent 4c26477f91
commit 6d0a63de87
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ SocketException::SocketException(const string &message, bool inclSysMsg)
}
}
SocketException::~SocketException() {
SocketException::~SocketException() noexcept (true) {
}
const char *SocketException::what(){

View File

@ -22,7 +22,7 @@ public:
/**
* Provided just to guarantee that no exceptions are thrown.
*/
~SocketException() ;
~SocketException() noexcept (true);
/**
* Get the exception message

View File

@ -54,7 +54,7 @@ std::cout<<"Rates:\n\
B1000000 0010010\n\
B1152000 0010011\n\
B1500000 0010012\n\
B2000000 0010013";
B2000000 0010013\n";
}
class Config
@ -125,7 +125,7 @@ int main(int argc, char* argv[])
if(parseCmdArgs(argc, argv, &config) != 0) return -1;
std::cout<<"UVOS serial mulitplexer v0.1\n";
std::cout<<"UVOS serial mulitplexer v0.2\n";
std::cout<<"Using serial port: "<<config.portFileName<<" at "<<config.baud<<" baud\n";
int serial = serialport_init(config.portFileName.c_str(), config.baud);