Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 24, 2011, 3:28:55 PM (13 years ago)
Author:
dafrick
Message:

Moved clone base method into Pickupable to avoid ambiguity.

Location:
code/trunk/src/libraries/core
Files:
2 edited

Legend:

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

    r8858 r8866  
    115115            bool isDirectParentOf(const OrxonoxClass* object);
    116116
    117             virtual void clone(OrxonoxClass*& item) {}
    118 
    119117            /// Returns the number of @ref orxonox::SmartPtr "smart pointers" that point to this object.
    120118            inline unsigned int getReferenceCount() const
     
    197195    };
    198196
    199     SUPER_FUNCTION(11, OrxonoxClass, clone, false);
    200197}
    201198
  • code/trunk/src/libraries/core/Super.h

    r8863 r8866  
    566566        SUPER_FUNCTION_GLOBAL_DECLARATION_PART2;
    567567
    568         SUPER_FUNCTION_GLOBAL_DECLARATION_PART1(11, clone, true, OrxonoxClass* item)
     568        SUPER_FUNCTION_GLOBAL_DECLARATION_PART1(11, clone, true, OrxonoxClass*& item)
    569569            (item)
    570570        SUPER_FUNCTION_GLOBAL_DECLARATION_PART2;
Note: See TracChangeset for help on using the changeset viewer.