clover/util: Have compat::vector track separate size and capacity.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 18 Aug 2014 05:30:46 +0000 (08:30 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 5 Sep 2014 06:27:20 +0000 (09:27 +0300)
commit7c1e6d582c772753cfdbfd3d09509af608b54d91
tree19b0f8319356302fc4598361a33d3773205efabc
parent995f7b37dad75999ce09f29fe999a8c30e899bb0
clover/util: Have compat::vector track separate size and capacity.

In order to make the behaviour of resize() and reserve() closer to the
standard.

Reported-by: EdB <edb+mesa@sigluy.net>
src/gallium/state_trackers/clover/core/module.cpp
src/gallium/state_trackers/clover/util/compat.hpp