Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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/libraries
Files:
2 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);
Note: See TracChangeset for help on using the changeset viewer.