IRespawnInitiator and InventoryActions are abstract classes, but they
were missing a virtual destructor. Define it, even if it does nothing
and its absence most likely makes no difference other tha causing
warnings during compile.
{
public:
virtual void respawn() = 0;
+ virtual ~IRespawnInitiator() {};
};
class GUIDeathScreen : public GUIModalMenu
struct TextDest
{
virtual void gotText(std::wstring text) = 0;
+ virtual ~TextDest() {};
};
class GUITextInputMenu : public GUIModalMenu
struct InventoryAction
{
static InventoryAction * deSerialize(std::istream &is);
-
+
virtual u16 getType() const = 0;
virtual void serialize(std::ostream &os) const = 0;
virtual void apply(InventoryContext *c, InventoryManager *mgr,
ServerEnvironment *env) = 0;
+ virtual ~InventoryAction() {};
};
struct IMoveAction : public InventoryAction