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>
This commit is contained in:
@@ -99,7 +99,7 @@ sc_event_and_list::operator & (const sc_event &e) const
|
||||
}
|
||||
|
||||
sc_event_and_expr
|
||||
sc_event_and_list::operator & (const sc_event_and_list &eal)
|
||||
sc_event_and_list::operator & (const sc_event_and_list &eal) const
|
||||
{
|
||||
sc_event_and_expr expr;
|
||||
expr.insert(*this);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user