mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +00:00
added a virtual destructor to supersaver to silence a warning
This commit is contained in:
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;
|
||||||
|
Reference in New Issue
Block a user