summaryrefslogtreecommitdiff
path: root/src/mem/port.cc
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
commit7a8dda49a4ec33be17bbd101ebd68e02562b9c3d (patch)
tree98b3bb80b66ebe424af78671c604bf0483f3db2d /src/mem/port.cc
parent63bb17e4bd1d37aa22a87a9614957ce1302f95a9 (diff)
downloadgem5-7a8dda49a4ec33be17bbd101ebd68e02562b9c3d.tar.xz
style: [patch 1/22] use /r/3648/ to reorganize includes
Diffstat (limited to 'src/mem/port.cc')
-rw-r--r--src/mem/port.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/port.cc b/src/mem/port.cc
index 91b9408eb..2111fa429 100644
--- a/src/mem/port.cc
+++ b/src/mem/port.cc
@@ -46,9 +46,10 @@
* @file
* Port object definitions.
*/
+#include "mem/port.hh"
+
#include "base/trace.hh"
#include "mem/mem_object.hh"
-#include "mem/port.hh"
Port::Port(const std::string &_name, MemObject& _owner, PortID _id)
: portName(_name), id(_id), owner(_owner)