projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2b329d
)
Oops, this goes with the previous changeset!
author
Steve Reinhardt
<stever@eecs.umich.edu>
Sun, 12 Mar 2006 22:23:18 +0000
(17:23 -0500)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Sun, 12 Mar 2006 22:23:18 +0000
(17:23 -0500)
mem/mem_object.hh:
Change getPort() to be anonymous by default.
--HG--
extra : convert_revision :
6998885ddccfbf26bc470112f40c3f19913ba7e2
mem/mem_object.hh
patch
|
blob
|
history
diff --git
a/mem/mem_object.hh
b/mem/mem_object.hh
index 634fb164af505ca873530da2bc79cb6b9b0c7503..7b3d942a4dba5012660d17aa2637005f50b5e0be 100644
(file)
--- 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__