]> git.xonotic.org Git - xonotic/gmqcc.git/commit
a vector_remove shouldn't clear the vector when failing to reallocate as a smaller...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 27 Apr 2012 11:53:49 +0000 (13:53 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 27 Apr 2012 11:54:00 +0000 (13:54 +0200)
commit9867ce26b3b73ed9e54edb8549e1cb6728c9da04
tree5c6a0d0f8f81d4976896c435934cf7edd4fe379c
parentce43a35307757c97f1bba2d89cb1729c580eba89
a vector_remove shouldn't clear the vector when failing to reallocate as a smaller chunk, just return false. The value is still removed from the vector, so no unstable state is generated by this, which makes a _remove safe to ignore where it makes sense.
astir.h