gl_shader_disk_cache: std::move entries in LoadTransferable() (#5249)

This commit is contained in:
Mat M authored and GitHub committed 2020-04-24 17:49:54 +02:00
1 parent 77ffe37c46
commit bc14f485c4
1 file changed
+1 -1
@@ -165,7 +165,7 @@ std::optional<std::vector<ShaderDiskCacheRaw>> ShaderDiskCache::LoadTransferable
}
LOG_INFO(Render_OpenGL, "Found a transferable disk cache with {} entries", raws.size());
return {raws};
return {std::move(raws)};
}
std::pair<std::unordered_map<u64, ShaderDiskCacheDecompiled>, ShaderDumpsMap>