Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2015, 10:54:34 PM (9 years ago)
Author:
landauf
Message:

replace '0' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/util/Math.h

    r10742 r10768  
    200200    template <> inline long double          zeroise<long double>()          { return 0; }
    201201    template <> inline bool                 zeroise<bool>()                 { return 0; }
    202     template <> inline void*                zeroise<void*>()                { return 0; }
     202    template <> inline void*                zeroise<void*>()                { return nullptr; }
    203203    template <> inline std::string          zeroise<std::string>()          { return std::string(); }
    204204    template <> inline orxonox::Radian      zeroise<orxonox::Radian>()      { return orxonox::Radian(0.0f); }
Note: See TracChangeset for help on using the changeset viewer.