Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2009, 10:00:15 AM (15 years ago)
Author:
rgrieder
Message:

Replaced <OgrePrerequisites.h> with "util/OgreForwardRefs.h": I haven't yet realised that OgrePrerequisites.h includes about every single std header by including the OgreMemoryManager.h file.
And while at it, I took care of some type conversions (partially revealed by the missing OgrePrerequisites.h that disabled warnings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/util/Convert.h

    r3189 r3192  
    307307    {
    308308        return ConverterExplicit<FromType, ToType>::convert(output, input);
    309     }
    310 
    311     // For compatibility reasons. The same, but with capital ConvertValue
    312     template<class FromType, class ToType>
    313     FORCEINLINE bool ConvertValue(ToType* output, const FromType& input)
    314     {
    315         return convertValue(output, input);
    316309    }
    317310
     
    372365    FORCEINLINE std::string convertToString(FromType value)
    373366    {
    374       return getConvertedValue<FromType, std::string>(value);
     367        return getConvertedValue<FromType, std::string>(value);
    375368    }
    376369
     
    379372    FORCEINLINE ToType convertFromString(std::string str)
    380373    {
    381       return getConvertedValue<std::string, ToType>(str);
     374        return getConvertedValue<std::string, ToType>(str);
    382375    }
    383376
Note: See TracChangeset for help on using the changeset viewer.