Gabriel B. has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/67454?usp=email )
Change subject: sim: System::Threads::const_iterator copy ops explicitely
deleted
......................................................................
sim: System::Threads::const_iterator copy ops explicitely deleted
Change-Id: I18d3a5b908d8575aef198f457b85060aa202bd5f
---
M src/sim/system.hh
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/sim/system.hh b/src/sim/system.hh
index d691fb8..e1865f8 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -162,8 +162,8 @@
{}
public:
- const_iterator(const const_iterator &) = default;
- const_iterator &operator = (const const_iterator &) = default;
+ const_iterator(const const_iterator &) = delete;
+ const_iterator &operator = (const const_iterator &) = delete;
using iterator_category = std::forward_iterator_tag;
using value_type = ThreadContext *;
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/67454?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I18d3a5b908d8575aef198f457b85060aa202bd5f
Gerrit-Change-Number: 67454
Gerrit-PatchSet: 1
Gerrit-Owner: Gabriel B. <gabriel.bus...@arteris.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org