apply fixes to more headers
This commit is contained in:
@@ -314,7 +314,7 @@ struct Object {
|
||||
virtual bool IsSpecial() const { return false; }
|
||||
|
||||
Object() = default;
|
||||
virtual ~Object() {}
|
||||
virtual ~Object() = default;
|
||||
|
||||
//! Maps special IDs to another ID, where needed. Subclasses may override it (statically)
|
||||
static const char *TranslateId(Asset & /*r*/, const char *id) { return id; }
|
||||
@@ -666,7 +666,7 @@ struct Mesh : public Object {
|
||||
std::vector<Primitive> primitives;
|
||||
std::list<SExtension *> Extension; ///< List of extensions used in mesh.
|
||||
|
||||
Mesh() {}
|
||||
Mesh() = default;
|
||||
|
||||
/// Destructor.
|
||||
~Mesh() {
|
||||
@@ -706,12 +706,12 @@ struct Node : public Object {
|
||||
|
||||
Ref<Node> parent; //!< This is not part of the glTF specification. Used as a helper.
|
||||
|
||||
Node() {}
|
||||
Node() = default;
|
||||
void Read(Value &obj, Asset &r);
|
||||
};
|
||||
|
||||
struct Program : public Object {
|
||||
Program() {}
|
||||
Program() = default;
|
||||
void Read(Value &obj, Asset &r);
|
||||
};
|
||||
|
||||
@@ -830,7 +830,7 @@ struct Animation : public Object {
|
||||
//! Base class for LazyDict that acts as an interface
|
||||
class LazyDictBase {
|
||||
public:
|
||||
virtual ~LazyDictBase() {}
|
||||
virtual ~LazyDictBase() = default;
|
||||
|
||||
virtual void AttachToDocument(Document &doc) = 0;
|
||||
virtual void DetachFromDocument() = 0;
|
||||
|
||||
Reference in New Issue
Block a user