Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7904


Ignore:
Timestamp:
Feb 16, 2011, 10:23:00 PM (14 years ago)
Author:
landauf
Message:

2x virtual because it may be required in some cases (Singleton & LANDiscoverable) and 2x for consistency

Location:
code/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/LANDiscoverable.h

    r7163 r7904  
    3434namespace orxonox
    3535{
    36  
     36
    3737  class LANDiscoverable
    3838  {
    3939    public:
    4040      LANDiscoverable();
    41       ~LANDiscoverable();
     41      virtual ~LANDiscoverable();
    4242      void setActivity( bool bActive );
    4343      void update();
    44      
     44
    4545    private:
    4646      bool            bActive_;
  • code/trunk/src/libraries/util/Singleton.h

    r7401 r7904  
    162162
    163163        //! Destructor resets the singleton instance pointer
    164         ~Singleton()
     164        virtual ~Singleton()
    165165        {
    166166            assert(T::singletonPtr_s != NULL);
  • code/trunk/src/modules/overlays/hud/UnderAttackHealthBar.h

    r6054 r7904  
    4242        public:
    4343            UnderAttackHealthBar(BaseObject* creator);
    44             ~UnderAttackHealthBar();
     44            virtual ~UnderAttackHealthBar();
    4545
    4646            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
  • code/trunk/src/orxonox/graphics/ParticleEmitter.h

    r7163 r7904  
    4141        public:
    4242            ParticleEmitter(BaseObject* creator);
    43             ~ParticleEmitter();
     43            virtual ~ParticleEmitter();
    4444
    4545            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
Note: See TracChangeset for help on using the changeset viewer.