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

This commit is contained in:
Mat M 2020-04-24 11:49:54 -04:00 committed by GitHub
parent 77ffe37c46
commit bc14f485c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>