]> git.tdb.fi Git - libs/core.git/blob - source/io/asset.cpp
Add move semantics to Variant
[libs/core.git] / source / io / asset.cpp
1 #include <msp/core/except.h>
2 #include "asset.h"
3
4 using namespace std;
5
6 namespace Msp {
7 namespace IO {
8
9 void Asset::set_block(bool)
10 {
11         throw unsupported("Asset::set_block");
12 }
13
14 void Asset::set_inherit(bool)
15 {
16         throw unsupported("Asset::set_inherit");
17 }
18
19 size_t Asset::do_write(const char *, size_t)
20 {
21         throw invalid_access(M_WRITE);
22 }
23
24 const Handle &Asset::get_handle(Mode)
25 {
26         throw unsupported("Asset::get_handle");
27 }
28
29 } // namespace IO
30 } // namespace Msp