소스 검색

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

recognise it.
legacy
Sam Hocevar sam 14 년 전
부모
커밋
00625f76e9
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -1
      src/matrix.h
  2. +2
    -1
      src/numeric.h

+ 2
- 1
src/matrix.h 파일 보기

@@ -113,7 +113,8 @@ namespace lol
\
inline float len() const \
{ \
return std::sqrtf((float)sqlen()); \
using namespace std; \
return sqrtf((float)sqlen()); \
}

template <typename T> struct Vec2;


+ 2
- 1
src/numeric.h 파일 보기

@@ -26,7 +26,8 @@ namespace lol
/* Random float value */
static inline float RandF()
{
return (float)std::rand() / RAND_MAX;
using namespace std;
return (float)rand() / RAND_MAX;
}

static inline float RandF(float val)


불러오는 중...
취소
저장