mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-04 01:57:54 +00:00
Since it has descendants, gives Storage::Cartridge
a virtual destructor.
This commit is contained in:
parent
56dd677e9c
commit
4465098157
@ -52,6 +52,7 @@ class Cartridge {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const std::list<Segment> &get_segments() { return segments_; }
|
const std::list<Segment> &get_segments() { return segments_; }
|
||||||
|
virtual ~Cartridge() {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::list<Segment> segments_;
|
std::list<Segment> segments_;
|
||||||
|
Loading…
Reference in New Issue
Block a user