<p>I have a vector with 1000 "nodes"</p>

<pre><code> if(count + 1 &gt; m_listItems.capacity())
     m_listItems.reserve(count + 100);
</code></pre>

<p>The problem is I also clear it out when I'm about to refill it. </p>

<pre><code>m_listItems.clear();
</code></pre>

<p>The capacity doesn't change. 
I've used the resize(1); but that doesn't seem to alter the capacity. 
So how does one change the reserve?</p>

You could try this technique from
here
```
```
std::vector< int > v;
// ... fill v with stuff...
std::vector< int >().swap( v );
```
```