X3DImporter: Add virtual destructors to some classes which already have virtual functions
parent
889f49aaf0
commit
b6800a9992
|
@ -62,6 +62,7 @@ namespace Assimp {
|
||||||
|
|
||||||
struct FIValue {
|
struct FIValue {
|
||||||
virtual const std::string &toString() const = 0;
|
virtual const std::string &toString() const = 0;
|
||||||
|
virtual ~FIValue() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FIStringValue: public FIValue {
|
struct FIStringValue: public FIValue {
|
||||||
|
@ -121,6 +122,7 @@ struct FICDATAValue: public FIStringValue {
|
||||||
|
|
||||||
struct FIDecoder {
|
struct FIDecoder {
|
||||||
virtual std::shared_ptr<const FIValue> decode(const uint8_t *data, size_t len) = 0;
|
virtual std::shared_ptr<const FIValue> decode(const uint8_t *data, size_t len) = 0;
|
||||||
|
virtual ~FIDecoder() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FIQName {
|
struct FIQName {
|
||||||
|
|
Loading…
Reference in New Issue