diff options
Diffstat (limited to 'src/mem/mem_object.cc')
-rw-r--r-- | src/mem/mem_object.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mem/mem_object.cc b/src/mem/mem_object.cc index b40709eb2..ce2a1107e 100644 --- a/src/mem/mem_object.cc +++ b/src/mem/mem_object.cc @@ -35,9 +35,12 @@ MemObject::MemObject(const Params *params) { } -MemObject::MemObject(const std::string &name) - : SimObject(name) +MemObjectParams * +MemObject::makeParams(const std::string &name) { + MemObjectParams *params = new MemObjectParams; + params->name = name; + return params; } void |