summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mem/mem_object.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/mem/mem_object.hh b/mem/mem_object.hh
index 634fb164a..7b3d942a4 100644
--- a/mem/mem_object.hh
+++ b/mem/mem_object.hh
@@ -44,13 +44,11 @@
class MemObject : public SimObject
{
public:
- MemObject(const std::string &name)
- : SimObject(name)
- {};
+ MemObject(const std::string &name);
public:
/** Additional function to return the Port of a memory object. */
- virtual Port *getPort(const char *if_name) = 0;
+ virtual Port *getPort(const char *if_name = NULL) = 0;
};
#endif //__MEM_MEM_OBJECT_HH__