Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2009, 6:22:15 PM (15 years ago)
Author:
rgrieder
Message:

Added a few inline keywords to template functions (Visual Studio does not seem to inline the small ones if defined outside of the class)
Added FORCEINLINE (which expands to forceinline for msvc) to all conversion functions (except the larger ones of course).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/tools/TextureGenerator.cc

    r3131 r3145  
    4242{
    4343    template <>
    44     bool less<orxonox::ColourValue>::operator()(const orxonox::ColourValue& __x, const orxonox::ColourValue& __y) const
     44    inline bool less<orxonox::ColourValue>::operator()(const orxonox::ColourValue& __x, const orxonox::ColourValue& __y) const
    4545    {
    4646        if (__x.r == __y.r)
Note: See TracChangeset for help on using the changeset viewer.