1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Fix compilation warning

See issue #53
This commit is contained in:
Nicolas Bigaouette 2013-12-27 16:31:24 -05:00
parent f051c0a613
commit feb667cc97

View File

@ -668,7 +668,7 @@ public:
e_what_ = ss.str(); e_what_ = ss.str();
} }
virtual ~IOException() throw() {} virtual ~IOException() throw() {}
IOException (const IOException& other) : e_what_(other.e_what_), line_(other.line_), errno_(other.errno_) {} IOException (const IOException& other) : line_(other.line_), e_what_(other.e_what_), errno_(other.errno_) {}
int getErrorNumber () { return errno_; } int getErrorNumber () { return errno_; }