1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

added a virtual destructor to supersaver to silence a warning

This commit is contained in:
Zeno Rogue
2018-07-03 12:00:02 +02:00
parent 577f050a57
commit 45ddd6303e

View File

@@ -3158,6 +3158,7 @@ struct supersaver {
virtual void load(const string& s) = 0;
virtual bool dosave() = 0;
virtual void reset() = 0;
virtual ~supersaver() {};
};
typedef vector<shared_ptr<supersaver>> saverlist;