Add a virtual destructor for XdgSurfaceConfigure
It's inherited by XdgToplevelConfigure and we need to make sure that the object gets destroyed properly. Alternatively we get a new-delete-type-mismatch error in ASAN and rightfully so.
This commit is contained in:
parent
eef97904b6
commit
0fbde9a2e0
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ class AbstractOutput;
|
|||
class XdgSurfaceConfigure
|
||||
{
|
||||
public:
|
||||
virtual ~XdgSurfaceConfigure() {}
|
||||
|
||||
enum ConfigureField {
|
||||
PositionField = 0x1,
|
||||
SizeField = 0x2,
|
||||
|
|
Loading…
Reference in a new issue