blob: f1325ed18769489b1d3497e090e3c9c8efabf5ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef YAGE_UTIL_NONCOPYABLE_H
#define YAGE_UTIL_NONCOPYABLE_H
namespace yage
{
class NonCopyable
{
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable &) = delete;
NonCopyable &operator=(const NonCopyable &) = delete;
};
} // namespace yage
#endif
|