mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
fixed the lacking virtual desctructor
This commit is contained in:
@@ -30,6 +30,7 @@ EX namespace mapeditor {
|
||||
virtual dtshape* load(hstream& hs) = 0;
|
||||
virtual void draw(const transmatrix& V) = 0;
|
||||
virtual ld distance(hyperpoint h) = 0;
|
||||
virtual ~dtshape() {}
|
||||
};
|
||||
|
||||
struct dtline : dtshape {
|
||||
|
Reference in New Issue
Block a user