瀏覽代碼

base: allow to resize an array to zero elements.

undefined
Sam Hocevar 11 年之前
父節點
當前提交
abcf219757
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/lol/base/array.h

+ 1
- 1
src/lol/base/array.h 查看文件

@@ -229,7 +229,7 @@ public:

void Resize(int count, Element e = Element())
{
ASSERT(count > 0);
ASSERT(count >= 0);
Reserve(count);

/* Too many elements? Remove them. */


Loading…
取消
儲存