diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-07-09 12:35:42 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-07-09 12:35:42 -0400 |
commit | 67e257f44210b0f4462df860500d903e3d4551df (patch) | |
tree | 63beb174106b5372915a6245978dfdc6d70f26be /src/mem/tport.cc | |
parent | fda338f8d3ba6f6cb271e2c10cb880ff064edb61 (diff) | |
download | gem5-67e257f44210b0f4462df860500d903e3d4551df.tar.xz |
Port: Hide the queue implementation in SimpleTimingPort
This patch makes the queue implementation in the SimpleTimingPort
private to avoid confusion with the protected member queue in the
QueuedSlavePort. The SimpleTimingPort provides the queue_impl to the
QueuedSlavePort and it can be accessed via the reference in the base
class. The use of the member name queue is thus no longer overloaded.
Diffstat (limited to 'src/mem/tport.cc')
-rw-r--r-- | src/mem/tport.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc index 1ce3b4dc2..b5f775a56 100644 --- a/src/mem/tport.cc +++ b/src/mem/tport.cc @@ -46,7 +46,7 @@ SimpleTimingPort::SimpleTimingPort(const std::string& _name, MemObject* _owner) : - QueuedSlavePort(_name, _owner, queue), queue(*_owner, *this) + QueuedSlavePort(_name, _owner, queueImpl), queueImpl(*_owner, *this) { } |