summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pstate.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-04 22:04:11 +0100
committer couriersud <couriersud@gmx.org>2019-11-04 22:04:11 +0100
commit2cf61b2e4c72a80eb688d1b6ffcacfdeaf55bf26 (patch)
tree0d056f80f69db1a17a680c6e3d8fac06aa6b3e45 /src/lib/netlist/plib/pstate.h
parente89f009945652ea15d941d4491cb8d9c0d2e3b65 (diff)
netlist: code maintenance. (nw)
- more const - explicitly raise exceptions instead of leaving this to log.fatal() - correct a number of cppcheck findings. - dead code removal - clang lint corrections, e.g. include order
Diffstat (limited to 'src/lib/netlist/plib/pstate.h')
-rw-r--r--src/lib/netlist/plib/pstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/pstate.h b/src/lib/netlist/plib/pstate.h
index f0f9e49db20..8dc6bf9424a 100644
--- a/src/lib/netlist/plib/pstate.h
+++ b/src/lib/netlist/plib/pstate.h
@@ -58,7 +58,7 @@ public:
virtual void on_post_load(state_manager_t &manager) = 0;
protected:
callback_t() = default;
- ~callback_t() = default;
+ virtual ~callback_t() = default;
COPYASSIGNMOVE(callback_t, default)
};