Commit 483f07c
committed
Add a virtual destructor to cprover_exception_baset
While exceptions under normal usage scenarios don't need a virtual destructor
(when an exception is thrown, it is the runtimes responsibility to properly
destroy it, and it does know the type of the exception at the point where it's
thrown), it is just generally good practice to have virtual destructors in base
classes to accomodate for situations where a polymorphic destruction may be
needed.1 parent 49230ec commit 483f07c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments