gl_shader_disk_cache: std::move entries in LoadTransferable() (#5249)
This commit is contained in:
parent
77ffe37c46
commit
bc14f485c4
|
@ -165,7 +165,7 @@ std::optional<std::vector<ShaderDiskCacheRaw>> ShaderDiskCache::LoadTransferable
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_INFO(Render_OpenGL, "Found a transferable disk cache with {} entries", raws.size());
|
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>
|
std::pair<std::unordered_map<u64, ShaderDiskCacheDecompiled>, ShaderDumpsMap>
|
||||||
|
|
Reference in New Issue