Changeset 2835


Ignore:
Timestamp:
Aug 2, 2013, 5:50:30 PM (6 years ago)
Author:
sam
Message:

base: allow to resize an array to zero elements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/array.h

    r2826 r2835  
    230230    void Resize(int count, Element e = Element())
    231231    {
    232         ASSERT(count > 0);
     232        ASSERT(count >= 0);
    233233        Reserve(count);
    234234
Note: See TracChangeset for help on using the changeset viewer.