summaryrefslogtreecommitdiff
path: root/src/mem/packet_access.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/packet_access.hh')
-rw-r--r--src/mem/packet_access.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/packet_access.hh b/src/mem/packet_access.hh
index fca9606fc..9e6f1cbb1 100644
--- a/src/mem/packet_access.hh
+++ b/src/mem/packet_access.hh
@@ -45,7 +45,7 @@
/** return the value of what is pointed to in the packet. */
template <typename T>
inline T
-Packet::get()
+Packet::get() const
{
assert(flags.isSet(STATIC_DATA|DYNAMIC_DATA));
assert(sizeof(T) <= size);