diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp index d73b85db4b..501f4c7d5c 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp @@ -165,7 +165,7 @@ std::optional> ShaderDiskCache::LoadTransferable } LOG_INFO(Render_OpenGL, "Found a transferable disk cache with {} entries", raws.size()); - return {raws}; + return {std::move(raws)}; } std::pair, ShaderDumpsMap>