]> git.tdb.fi Git - libs/core.git/blob - source/io/mode.cpp
71d956bc10fb18ce804c6fe61f089ff82d268233
[libs/core.git] / source / io / mode.cpp
1 #include "mode.h"
2
3 using namespace std;
4
5 namespace Msp {
6 namespace IO {
7
8 invalid_access::invalid_access(Mode m):
9         logic_error(m==M_READ ? "read" : m==M_WRITE ? "write" : "generic")
10 { }
11
12 } // namespace IO
13 } // namespace Msp