summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-19 01:31:35 +0200
committerGitHub <noreply@github.com>2020-08-19 01:31:35 +0200
commit2d2e235bcf1989f65e3a06334efd86a9041ab0de (patch)
treef1ac8da43ee54613805e27e2ee41d8068e2ead53 /src/video_core
parentMerge pull request #4381 from Morph1984/fix-open-folder-installed-title (diff)
parentvulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties() (diff)
downloadyuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar.gz
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar.bz2
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar.lz
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar.xz
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.tar.zst
yuzu-2d2e235bcf1989f65e3a06334efd86a9041ab0de.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.cpp b/src/video_core/renderer_vulkan/wrapper.cpp
index c43d60adf..013865aa4 100644
--- a/src/video_core/renderer_vulkan/wrapper.cpp
+++ b/src/video_core/renderer_vulkan/wrapper.cpp
@@ -786,7 +786,7 @@ std::optional<std::vector<VkExtensionProperties>> EnumerateInstanceExtensionProp
VK_SUCCESS) {
return std::nullopt;
}
- return properties;
+ return std::move(properties);
}
std::optional<std::vector<VkLayerProperties>> EnumerateInstanceLayerProperties(