blob: 89a3e68019a68be54bd3fb53ab5f871a17fa7e0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef __JE_NONCOPYABLE_H
#define __JE_NONCOPYABLE_H
namespace JinEngine
{
///
/// Class inherites this could not be copied.
///
class Noncopyable
{
public:
Noncopyable(void) { }
virtual ~Noncopyable(void) { }
private:
Noncopyable(const Noncopyable& other);
Noncopyable& operator=(const Noncopyable& other);
};
} // namespace JinEngine
#endif
|