Browse Source

base: allow to resize an array to zero elements.

undefined
Sam Hocevar 11 years ago
parent
commit
abcf219757
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lol/base/array.h

+ 1
- 1
src/lol/base/array.h View File

@@ -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…
Cancel
Save