소스 검색

base: Array::Pop() returns the popped element.

legacy
Sam Hocevar sam 12 년 전
부모
커밋
bc623a4ef1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      src/lol/base/array.h

+ 3
- 1
src/lol/base/array.h 파일 보기

@@ -162,10 +162,12 @@ public:
*this << x;
}

inline void Pop()
inline T Pop()
{
ASSERT(m_count > 0);
Element tmp = Last();
Remove(m_count - 1, 1);
return tmp;
}

void Swap(int pos1, int pos2)


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