V0.2
This commit is contained in:
@ -26,7 +26,7 @@ SocketException::SocketException(const string &message, bool inclSysMsg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SocketException::~SocketException() {
|
SocketException::~SocketException() noexcept (true) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *SocketException::what(){
|
const char *SocketException::what(){
|
||||||
|
2
Socket.h
2
Socket.h
@ -22,7 +22,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Provided just to guarantee that no exceptions are thrown.
|
* Provided just to guarantee that no exceptions are thrown.
|
||||||
*/
|
*/
|
||||||
~SocketException() ;
|
~SocketException() noexcept (true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the exception message
|
* Get the exception message
|
||||||
|
4
main.cpp
4
main.cpp
@ -54,7 +54,7 @@ std::cout<<"Rates:\n\
|
|||||||
B1000000 0010010\n\
|
B1000000 0010010\n\
|
||||||
B1152000 0010011\n\
|
B1152000 0010011\n\
|
||||||
B1500000 0010012\n\
|
B1500000 0010012\n\
|
||||||
B2000000 0010013";
|
B2000000 0010013\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
class Config
|
class Config
|
||||||
@ -125,7 +125,7 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
if(parseCmdArgs(argc, argv, &config) != 0) return -1;
|
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";
|
std::cout<<"Using serial port: "<<config.portFileName<<" at "<<config.baud<<" baud\n";
|
||||||
int serial = serialport_init(config.portFileName.c_str(), config.baud);
|
int serial = serialport_init(config.portFileName.c_str(), config.baud);
|
||||||
|
Reference in New Issue
Block a user