mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-25 04:47:02 +00:00
fixed the lacking virtual desctructor
This commit is contained in:
parent
3ffe8d1f4d
commit
f504eef7df
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user