mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 14:54:22 +01:00
Merge pull request #4522 from lioncash/vulk-copy
vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()
This commit is contained in:
commit
2d2e235bcf
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user