Add virtual destructor for base class

This commit is contained in:
Ian McInerney 2023-07-12 19:39:15 +01:00
parent c8a65a631b
commit a8f628d0df
1 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,8 @@ public:
{
}
virtual ~ITEM_MODIFICATION_ROUTINE() = default;
unsigned GetSuccesses() const { return m_numSuccesses; }
unsigned GetFailures() const { return m_numFailures; }
@ -225,4 +227,4 @@ public:
void ProcessLinePair( PCB_SHAPE& aLineA, PCB_SHAPE& aLineB ) override;
};
#endif /* ITEM_MODIFICATION_ROUTINE_H_ */
#endif /* ITEM_MODIFICATION_ROUTINE_H_ */