Changeset 761


Ignore:
Timestamp:
Apr 28, 2011, 10:16:11 PM (10 years ago)
Author:
sam
Message:

core: don't explicitly use std:: prefix when the platform may not
recognise it.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/matrix.h

    r758 r761  
    114114    inline float len() const \
    115115    { \
    116         return std::sqrtf((float)sqlen()); \
     116        using namespace std; \
     117        return sqrtf((float)sqlen()); \
    117118    }
    118119
  • trunk/src/numeric.h

    r758 r761  
    2727static inline float RandF()
    2828{
    29     return (float)std::rand() / RAND_MAX;
     29    using namespace std;
     30    return (float)rand() / RAND_MAX;
    3031}
    3132
Note: See TracChangeset for help on using the changeset viewer.