Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2010, 3:05:53 PM (14 years ago)
Author:
rgrieder
Message:

Renamed FORCEINLINE macro to ORX_FORCEINLINE because of conflicts (resulting in a load of warnings with Ogre v1.7 and gcc) with OgrePlatform.h.

File:
1 edited

Legend:

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

    r7401 r7621  
    136136                Returns NULL if the no pointer was found.
    137137            */
    138             FORCEINLINE void* getDerivedPointer(unsigned int classID)
     138            ORX_FORCEINLINE void* getDerivedPointer(unsigned int classID)
    139139            {
    140140                for (int i = this->objectPointers_.size() - 1; i >= 0; --i)
     
    147147
    148148            /// Version of getDerivedPointer with template
    149             template <class T> FORCEINLINE T* getDerivedPointer(unsigned int classID)
     149            template <class T> ORX_FORCEINLINE T* getDerivedPointer(unsigned int classID)
    150150            {   return static_cast<T*>(this->getDerivedPointer(classID));   }
    151151            /// Const version of getDerivedPointer with template
    152             template <class T> FORCEINLINE const T* getDerivedPointer(unsigned int classID) const
     152            template <class T> ORX_FORCEINLINE const T* getDerivedPointer(unsigned int classID) const
    153153            {   return const_cast<OrxonoxClass*>(this)->getDerivedPointer<T>(classID);   }
    154154
Note: See TracChangeset for help on using the changeset viewer.