mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
added a virtual destructor to supersaver to silence a warning
This commit is contained in:
parent
577f050a57
commit
45ddd6303e
1
hyper.h
1
hyper.h
@ -3158,6 +3158,7 @@ struct supersaver {
|
|||||||
virtual void load(const string& s) = 0;
|
virtual void load(const string& s) = 0;
|
||||||
virtual bool dosave() = 0;
|
virtual bool dosave() = 0;
|
||||||
virtual void reset() = 0;
|
virtual void reset() = 0;
|
||||||
|
virtual ~supersaver() {};
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef vector<shared_ptr<supersaver>> saverlist;
|
typedef vector<shared_ptr<supersaver>> saverlist;
|
||||||
|
Loading…
Reference in New Issue
Block a user