mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-24 17:01:48 +01:00
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());
|
||||
return {raws};
|
||||
return {std::move(raws)};
|
||||
}
|
||||
|
||||
std::pair<std::unordered_map<u64, ShaderDiskCacheDecompiled>, ShaderDumpsMap>
|
||||
|
Loading…
Reference in New Issue
Block a user