|
|
@ -18,8 +18,8 @@ class KernelCore;
|
|
|
|
class KProcess;
|
|
|
|
class KProcess;
|
|
|
|
|
|
|
|
|
|
|
|
#define KERNEL_AUTOOBJECT_TRAITS(CLASS, BASE_CLASS) \
|
|
|
|
#define KERNEL_AUTOOBJECT_TRAITS(CLASS, BASE_CLASS) \
|
|
|
|
NON_COPYABLE(CLASS); \
|
|
|
|
YUZU_NON_COPYABLE(CLASS); \
|
|
|
|
NON_MOVEABLE(CLASS); \
|
|
|
|
YUZU_NON_MOVEABLE(CLASS); \
|
|
|
|
\
|
|
|
|
\
|
|
|
|
private: \
|
|
|
|
private: \
|
|
|
|
friend class ::Kernel::KClassTokenGenerator; \
|
|
|
|
friend class ::Kernel::KClassTokenGenerator; \
|
|
|
@ -213,7 +213,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
template <typename T>
|
|
|
|
template <typename T>
|
|
|
|
class KScopedAutoObject {
|
|
|
|
class KScopedAutoObject {
|
|
|
|
NON_COPYABLE(KScopedAutoObject);
|
|
|
|
YUZU_NON_COPYABLE(KScopedAutoObject);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
template <typename U>
|
|
|
|
template <typename U>
|
|
|
|