diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-19 01:31:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 01:31:35 +0200 |
commit | 2d2e235bcf1989f65e3a06334efd86a9041ab0de (patch) | |
tree | f1ac8da43ee54613805e27e2ee41d8068e2ead53 /src/video_core | |
parent | Merge pull request #4381 from Morph1984/fix-open-folder-installed-title (diff) | |
parent | vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties() (diff) | |
download | yuzu-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.cpp | 2 |
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( |