Oops, this goes with the previous changeset!
mem/mem_object.hh: Change getPort() to be anonymous by default. --HG-- extra : convert_revision : 6998885ddccfbf26bc470112f40c3f19913ba7e2
This commit is contained in:
parent
e2b329d574
commit
f03e1fb5ab
1 changed files with 2 additions and 4 deletions
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue