summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_event.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-11-08 17:18:20 -0800
committerGabe Black <gabeblack@google.com>2018-11-09 01:28:00 +0000
commitdabc2b138deb02e73577bfc76d22445299abef16 (patch)
tree1fd0bdc947f1e29d627e106a48f77c57c0cdbd55 /src/systemc/ext/core/sc_event.hh
parenta993544a6bef7ee23c855045ea22a13b7fceebd0 (diff)
downloadgem5-dabc2b138deb02e73577bfc76d22445299abef16.tar.xz
systemc: Add a missing "const" on one of the sc_event operators.
Change-Id: I073ccb0f2c6d1bfebadb95869d6acf7f4ce565af Reviewed-on: https://gem5-review.googlesource.com/c/14135 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_event.hh')
-rw-r--r--src/systemc/ext/core/sc_event.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/ext/core/sc_event.hh b/src/systemc/ext/core/sc_event.hh
index e2164f4b8..7925e08b6 100644
--- a/src/systemc/ext/core/sc_event.hh
+++ b/src/systemc/ext/core/sc_event.hh
@@ -76,7 +76,7 @@ class sc_event_and_list
sc_event_and_list &operator &= (const sc_event_and_list &);
sc_event_and_expr operator & (const sc_event &) const;
- sc_event_and_expr operator & (const sc_event_and_list &);
+ sc_event_and_expr operator & (const sc_event_and_list &) const;
private:
friend class sc_event_and_expr;