Explicit constructors

This commit is contained in:
Pavel Kirienko
2014-04-18 19:37:08 +04:00
parent febc3ed870
commit 1853f5c73c
20 changed files with 26 additions and 26 deletions
@@ -15,7 +15,7 @@ class Exception : public std::runtime_error
const int errno_;
public:
Exception(const std::string& descr)
explicit Exception(const std::string& descr)
: std::runtime_error(descr)
, errno_(errno)
{ }