Skip to content

Commit

Permalink
Add missing virtual destructor to ProcInfoBase #103
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbopet committed Jul 21, 2021
1 parent f717d62 commit 3e6770b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/processorregistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ProcInfoBase {
ProcInfoBase(ProcessorID _id, const QString& _name, const QString& _desc, const std::vector<Layout>& _layouts,
const RegisterInitialization& _defaultRegVals = {})
: id(_id), name(_name), description(_desc), defaultRegisterVals(_defaultRegVals), layouts(_layouts) {}
virtual ~ProcInfoBase() = default;
ProcessorID id;
QString name;
QString description;
Expand Down

0 comments on commit 3e6770b

Please sign in to comment.