Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2011, 7:24:04 PM (14 years ago)
Author:
rgrieder
Message:

Fixed mingw 3 build and removed a warning due to non-virtual destructors.

Location:
code/branches/usability/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/src/libraries/core/OrxonoxClass.h

    r7850 r7938  
    194194
    195195        protected:
     196            virtual ~DestructionListener() {}
     197
    196198            inline void registerAsDestructionListener(OrxonoxClass* object)
    197199                { if (object) { object->registerDestructionListener(this); } }
  • code/branches/usability/src/libraries/core/WeakPtr.h

    r7850 r7938  
    129129
    130130            /// Destructor
    131             inline ~WeakPtr()
     131            inline virtual ~WeakPtr()
    132132            {
    133133                this->unregisterAsDestructionListener(this->base_);
Note: See TracChangeset for help on using the changeset viewer.