Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2015, 10:20:29 PM (8 years ago)
Author:
landauf
Message:

always use 'virtual' in the declaration of virtual functions even if they are inherited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/worldentities/ControllableEntity.h

    r10817 r10845  
    141141            using MobileEntity::setAngularVelocity;
    142142
    143             void setPosition(const Vector3& position) override;
    144             void setOrientation(const Quaternion& orientation) override;
    145             void setVelocity(const Vector3& velocity) override;
    146             void setAngularVelocity(const Vector3& velocity) override;
     143            virtual void setPosition(const Vector3& position) override;
     144            virtual void setOrientation(const Quaternion& orientation) override;
     145            virtual void setVelocity(const Vector3& velocity) override;
     146            virtual void setAngularVelocity(const Vector3& velocity) override;
    147147
    148148            inline bool hasLocalController() const
     
    214214
    215215            // Bullet btMotionState related
    216             void setWorldTransform(const btTransform& worldTrans) override;
     216            virtual void setWorldTransform(const btTransform& worldTrans) override;
    217217
    218218            unsigned int server_overwrite_;
Note: See TracChangeset for help on using the changeset viewer.