소스 검색

core: Append() was missing for arrays of single element structs.

legacy
Sam Hocevar sam 13 년 전
부모
커밋
56d7f24a37
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      src/array.h

+ 5
- 0
src/array.h 파일 보기

@@ -225,6 +225,11 @@ public:
return *this;
}

inline void Append(T1 const &x)
{
*this += x;
}

void Remove(int pos)
{
memmove(m_data + pos, m_data + pos + 1, m_count - pos - 1);


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