removed override keyword from OtherAvatar and MyAvatar destructors, also

added the virtual keyword to the createOrb virtual method in OtherAvatar
This commit is contained in:
amantley 2018-06-27 14:31:33 -07:00
parent 99ff5f9140
commit 205cd44a49
2 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ public:
Q_ENUM(DriveKeys)
explicit MyAvatar(QThread* thread);
~MyAvatar() override;
virtual ~MyAvatar();
void instantiableAvatar() override {};
void registerMetaTypes(ScriptEnginePointer engine);

View file

@ -17,10 +17,10 @@
class OtherAvatar : public Avatar {
public:
explicit OtherAvatar(QThread* thread);
~OtherAvatar() override;
virtual ~OtherAvatar();
virtual void instantiableAvatar() override { };
void createOrb() override;
virtual void createOrb() override;
void updateOrbPosition();
void removeOrb();