X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/7b35c34eaa3ee421eb5effc63801aeff69a9ffe8..d22d22101e7dda5da951a76408ec32708072849e:/src/error.hpp?ds=sidebyside diff --git a/src/error.hpp b/src/error.hpp index 89ac576..acea422 100644 --- a/src/error.hpp +++ b/src/error.hpp @@ -37,13 +37,13 @@ struct error: std::runtime_error inline posixx::error::error() throw(): - std::runtime_error(strerror(errno)), no(errno) + std::runtime_error(strerror(errno)), no(errno) { } inline posixx::error::error(const std::string& where) throw (): - std::runtime_error(where + ": " + strerror(errno)), no(errno) + std::runtime_error(where + ": " + strerror(errno)), no(errno) { }