Back out clearly inconsequential/useless .reserve() calls

This commit is contained in:
Henrik Rydgård committed 2023-12-29 08:27:56 +01:00
1 parent c97d5ef23f
commit 126d88ecfc
25 files changed
+14 -61

No files matched your search

-1
View File
@@ -187,7 +187,6 @@ void SamplerCache::DeviceRestore(VulkanContext *vulkan) {
std::vector<std::string> SamplerCache::DebugGetSamplerIDs() const {
std::vector<std::string> ids;
ids.reserve(cache_.size());
cache_.Iterate([&](const SamplerCacheKey &id, VkSampler sampler) {
std::string idstr;
id.ToString(&idstr);