From 6d0a63de878c058afe3739220459e5692147793f Mon Sep 17 00:00:00 2001 From: IMback Date: Tue, 7 Nov 2017 14:56:56 +0100 Subject: [PATCH] V0.2 --- Socket.cpp | 2 +- Socket.h | 2 +- main.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Socket.cpp b/Socket.cpp index 13cab61..429f861 100644 --- a/Socket.cpp +++ b/Socket.cpp @@ -26,7 +26,7 @@ SocketException::SocketException(const string &message, bool inclSysMsg) } } -SocketException::~SocketException() { +SocketException::~SocketException() noexcept (true) { } const char *SocketException::what(){ diff --git a/Socket.h b/Socket.h index 623fe65..cc943d3 100644 --- a/Socket.h +++ b/Socket.h @@ -22,7 +22,7 @@ public: /** * Provided just to guarantee that no exceptions are thrown. */ - ~SocketException() ; + ~SocketException() noexcept (true); /** * Get the exception message diff --git a/main.cpp b/main.cpp index e0511d7..03f523a 100644 --- a/main.cpp +++ b/main.cpp @@ -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: "<