Fix vector addEnd so that it increments size AFTER the resize and resize() doesn't copy_construct an invalid item, which only SOMETIMES failes

This commit is contained in:
Nathan Braswell
2015-07-04 12:59:05 -04:00
parent bd5e0af00f
commit d2b12fea35
3 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import io:*
fun main():int {
var wr: fun():int*
return 0
}