Add a static kType field to all objects
This commit is contained in:
@@ -57,6 +57,8 @@ class XModule : public XObject {
|
||||
kUserModule = 1,
|
||||
};
|
||||
|
||||
static const Type kType = kTypeModule;
|
||||
|
||||
XModule(KernelState* kernel_state, ModuleType module_type,
|
||||
const std::string& path);
|
||||
virtual ~XModule();
|
||||
|
||||
Reference in New Issue
Block a user