projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16ac48e
)
mem: packet: Add const to constructor argument
author
Nilay Vaish
<nilay@cs.wisc.edu>
Sat, 4 Jul 2015 15:43:46 +0000
(10:43 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Sat, 4 Jul 2015 15:43:46 +0000
(10:43 -0500)
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index 54f2176c691939e758d97498b6f84f121b46b70a..f294cdf296431309c8fb5c8af8686436171a9d42 100644
(file)
--- a/
src/mem/packet.hh
+++ b/
src/mem/packet.hh
@@
-613,7
+613,7
@@
class Packet : public Printable
* less than that of the original packet. In this case the new
* packet should allocate its own data.
*/
- Packet(PacketPtr pkt, bool clear_flags, bool alloc_data)
+ Packet(
const
PacketPtr pkt, bool clear_flags, bool alloc_data)
: cmd(pkt->cmd), req(pkt->req),
data(nullptr),
addr(pkt->addr), _isSecure(pkt->_isSecure), size(pkt->size),