Assign XModule path on load rather than in the constructor

This commit is contained in:
Dr. Chat
2015-12-28 13:25:04 -06:00
committed by Ben Vanik
parent c242a01043
commit 4e7dfa477b
6 changed files with 17 additions and 13 deletions

View File

@@ -59,8 +59,7 @@ class XModule : public XObject {
static const Type kType = kTypeModule;
XModule(KernelState* kernel_state, ModuleType module_type,
const std::string& path);
XModule(KernelState* kernel_state, ModuleType module_type);
virtual ~XModule();
ModuleType module_type() const { return module_type_; }