diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-12 17:23:18 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-12 17:23:18 -0500 |
commit | f03e1fb5ab43b0c816f75fd9a620a3450b22bb7c (patch) | |
tree | cf96bf86d5f7a28de5747eab962f3cf1f79efb34 /mem/mem_object.hh | |
parent | e2b329d574483096da64d4050a9a0b228757a72e (diff) | |
download | gem5-f03e1fb5ab43b0c816f75fd9a620a3450b22bb7c.tar.xz |
Oops, this goes with the previous changeset!
mem/mem_object.hh:
Change getPort() to be anonymous by default.
--HG--
extra : convert_revision : 6998885ddccfbf26bc470112f40c3f19913ba7e2
Diffstat (limited to 'mem/mem_object.hh')
-rw-r--r-- | mem/mem_object.hh | 6 |
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__ |