Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 9, 2010, 3:36:51 PM (14 years ago)
Author:
rgrieder
Message:

This hopefully fixes some warnings with gcc 4.0.

Location:
code/branches/ois_update/src/libraries
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/src/libraries/core/command/Functor.h

    r7401 r7514  
    186186
    187187        public:
     188            virtual ~Functor() {}
     189
    188190            /// Calls the function-pointer with up to five arguments. In case of a member-function, the assigned object-pointer is used to call the function. @return Returns the return-value of the function (if any; MT_Type::Null otherwise)
    189191            virtual MultiType operator()(const MultiType& param1 = MT_Type::Null, const MultiType& param2 = MT_Type::Null, const MultiType& param3 = MT_Type::Null, const MultiType& param4 = MT_Type::Null, const MultiType& param5 = MT_Type::Null) = 0;
     
    248250            /// Constructor: Stores the object-pointer.
    249251            FunctorMember(O* object = 0) : object_(object) {}
     252            virtual ~FunctorMember() {}
    250253
    251254            /// Calls the function-pointer with up to five arguments and an object. In case of a static-function, the object can be NULL. @return Returns the return-value of the function (if any; MT_Type::Null otherwise)
  • code/branches/ois_update/src/libraries/util/SharedPtr.h

    r7401 r7514  
    163163            public:
    164164                SharedCounter() : count_(1) {}
     165                virtual ~SharedCounter() {}
    165166                virtual void destroy() = 0;
    166167
Note: See TracChangeset for help on using the changeset viewer.