changeset 66e131813346 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=66e131813346
description:
mem: packet: Add const to constructor argument
diffstat:
src/mem/packet.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 287285860dd6 -r 66e131813346 src/mem/packet.hh
--- a/src/mem/packet.hh Sat Jul 04 10:43:46 2015 -0500
+++ b/src/mem/packet.hh Sat Jul 04 10:43:46 2015 -0500
@@ -613,7 +613,7 @@
* 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),
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev