File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ void guardt::add(const exprt &expr)
127
127
128
128
/* ******************************************************************\
129
129
130
- Function: operator -=
130
+ Function: guardt:: operator -=
131
131
132
132
Inputs:
133
133
@@ -137,8 +137,10 @@ Function: operator -=
137
137
138
138
\*******************************************************************/
139
139
140
- guardt & operator -= (guardt &g1, const guardt &g2)
140
+ guardt& guardt:: operator -= (const guardt &g2)
141
141
{
142
+ guardt &g1=*this ;
143
+
142
144
if (g1.id ()!=ID_and || g2.id ()!=ID_and)
143
145
return g1;
144
146
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class guardt:public exprt
59
59
void make_false();
60
60
#endif
61
61
62
- friend guardt & operator -= (guardt &g1, const guardt &g2);
62
+ guardt& operator -= (const guardt &g2);
63
63
guardt& logical_or (const guardt &g2, const namespacet &ns);
64
64
65
65
#if 0
You can’t perform that action at this time.
0 commit comments