Linux helpers

This commit is contained in:
Pavel Kirienko
2014-03-31 20:23:26 +04:00
parent 788d7348b6
commit c80e0388eb
4 changed files with 155 additions and 8 deletions
@@ -12,10 +12,10 @@ namespace uavcan_linux
class Exception : public std::runtime_error
{
int errno_;
const int errno_;
public:
Exception(const char* descr)
Exception(const std::string& descr)
: std::runtime_error(descr)
, errno_(errno)
{ }