]> git.tdb.fi Git - libs/core.git/blob - source/core/noncopyable.h
Add move semantics to Variant
[libs/core.git] / source / core / noncopyable.h
1 #ifndef MSP_CORE_NONCOPYABLE_H_
2 #define MSP_CORE_NONCOPYABLE_H_
3
4 #include "mspcore_api.h"
5
6 namespace Msp {
7
8 class MSPCORE_API NonCopyable
9 {
10 protected:
11         NonCopyable() = default;
12         NonCopyable(const NonCopyable &) = delete;
13         NonCopyable &operator=(const NonCopyable &) = delete;
14         ~NonCopyable() = default;
15 };
16
17 } // namespace Msp
18
19 #endif