diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 2a7e9493f5bf..93f7d3090c93 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -206,6 +206,7 @@ bool StgCache::Commit() if ( Good() ) // otherwise Write does nothing { std::vector< StgPage * > aToWrite; + aToWrite.reserve(maDirtyPages.size()); for (const auto& rEntry : maDirtyPages) aToWrite.push_back( rEntry.second.get() ); |