X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fio%2Fmode.h;h=565eb0fb90043fdd1b9873ebe41942436aa00fbc;hb=HEAD;hp=a643a7f32074782bb863c99959d6d14e1a66f496;hpb=99b9121e2158603372c7313400283b622e6754d8;p=libs%2Fcore.git diff --git a/source/io/mode.h b/source/io/mode.h index a643a7f..6230a65 100644 --- a/source/io/mode.h +++ b/source/io/mode.h @@ -2,6 +2,7 @@ #define MSP_IO_MODE_H_ #include +#include namespace Msp { namespace IO { @@ -30,11 +31,10 @@ inline void adjust_mode(Mode &m, Mode f, bool b) { m = b ? (m|f) : (m&~f); } -class invalid_access: public std::logic_error +class MSPCORE_API invalid_access: public std::logic_error { public: invalid_access(Mode); - virtual ~invalid_access() throw() = default; }; } // namespace IO