X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Fmode.h;h=565eb0fb90043fdd1b9873ebe41942436aa00fbc;hb=85ef592fb1eab68283b12607701e4fb9b9014630;hp=2e7527dc5202d3158895f8c20feb3f90236b17dd;hpb=edeb93fa4182984422f70c453ced8ad3acabe1d0;p=libs%2Fcore.git diff --git a/source/io/mode.h b/source/io/mode.h index 2e7527d..565eb0f 100644 --- a/source/io/mode.h +++ b/source/io/mode.h @@ -13,7 +13,8 @@ enum Mode M_WRITE = 2, M_RDWR = M_READ|M_WRITE, M_APPEND = 4, - M_NONBLOCK = 8 + M_NONBLOCK = 8, + M_INHERIT = 16 }; inline Mode operator|(Mode m, Mode n) @@ -33,7 +34,7 @@ class invalid_access: public std::logic_error { public: invalid_access(Mode); - ~invalid_access() throw() { } + ~invalid_access() throw() override = default; }; } // namespace IO