Add virtual destructor (https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c35-a-base-class-destructor-should-be-either-public-and-virtual-or-protected-and-non-virtual)
This commit is contained in:
parent
2c0254a840
commit
d437713402
|
@ -55,6 +55,7 @@ public:
|
|||
virtual ProgramValue GetArray(const ProgramValue& key) = 0;
|
||||
virtual void SetArray(const ProgramValue& key, const ProgramValue& val, bool allowUnset) = 0;
|
||||
virtual void ResizeArray(int newLen) = 0;
|
||||
virtual ~SFallArray() = default;
|
||||
};
|
||||
|
||||
class SFallArrayList : public SFallArray {
|
||||
|
|
Loading…
Reference in New Issue