This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
base: allow to resize an array to zero elements.
undefined
Sam Hocevar
11 years ago
parent
acb6927224
commit
abcf219757
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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. */
Write
Preview
Loading…
Cancel
Save