File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class rw_set_baset
40
40
{
41
41
}
42
42
43
- ~rw_set_baset () {}
43
+ virtual ~rw_set_baset () = default ;
44
44
45
45
struct entryt
46
46
{
@@ -136,8 +136,6 @@ class _rw_set_loct:public rw_set_baset
136
136
{
137
137
}
138
138
139
- ~_rw_set_loct () {}
140
-
141
139
protected:
142
140
value_setst &value_sets;
143
141
const goto_programt::const_targett target;
@@ -192,8 +190,6 @@ class rw_set_loct:public _rw_set_loct
192
190
{
193
191
compute ();
194
192
}
195
-
196
- ~rw_set_loct () {}
197
193
};
198
194
199
195
// another producer, this time for entire functions
@@ -213,8 +209,6 @@ class rw_set_functiont:public rw_set_baset
213
209
compute_rec (function);
214
210
}
215
211
216
- ~rw_set_functiont () {}
217
-
218
212
protected:
219
213
const namespacet ns;
220
214
value_setst &value_sets;
@@ -258,8 +252,6 @@ class rw_set_with_trackt:public _rw_set_loct
258
252
compute ();
259
253
}
260
254
261
- ~rw_set_with_trackt () {}
262
-
263
255
protected:
264
256
/* flag and variable in the expression, from which we dereference */
265
257
bool dereferencing;
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ class value_sett
45
45
{
46
46
}
47
47
48
+ virtual ~value_sett () = default ;
49
+
48
50
static bool field_sensitive (
49
51
const irep_idt &id,
50
52
const typet &type,
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ class endianness_mapt
41
41
{
42
42
}
43
43
44
+ virtual ~endianness_mapt () = default ;
45
+
44
46
size_t map_bit (size_t bit) const
45
47
{
46
48
assert (bit<map.size ());
You can’t perform that action at this time.
0 commit comments