File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 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
4040 {
4141 }
4242
43- ~rw_set_baset () {}
43+ virtual ~rw_set_baset () = default ;
4444
4545 struct entryt
4646 {
@@ -136,8 +136,6 @@ class _rw_set_loct:public rw_set_baset
136136 {
137137 }
138138
139- ~_rw_set_loct () {}
140-
141139protected:
142140 value_setst &value_sets;
143141 const goto_programt::const_targett target;
@@ -192,8 +190,6 @@ class rw_set_loct:public _rw_set_loct
192190 {
193191 compute ();
194192 }
195-
196- ~rw_set_loct () {}
197193};
198194
199195// another producer, this time for entire functions
@@ -213,8 +209,6 @@ class rw_set_functiont:public rw_set_baset
213209 compute_rec (function);
214210 }
215211
216- ~rw_set_functiont () {}
217-
218212protected:
219213 const namespacet ns;
220214 value_setst &value_sets;
@@ -258,8 +252,6 @@ class rw_set_with_trackt:public _rw_set_loct
258252 compute ();
259253 }
260254
261- ~rw_set_with_trackt () {}
262-
263255protected:
264256 /* flag and variable in the expression, from which we dereference */
265257 bool dereferencing;
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ class value_sett
4545 {
4646 }
4747
48+ virtual ~value_sett () = default ;
49+
4850 static bool field_sensitive (
4951 const irep_idt &id,
5052 const typet &type,
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ class endianness_mapt
4141 {
4242 }
4343
44+ virtual ~endianness_mapt () = default ;
45+
4446 size_t map_bit (size_t bit) const
4547 {
4648 assert (bit<map.size ());
You can’t perform that action at this time.
0 commit comments