video_core: Enforce -Wredundant-move and -Wpessimizing-move
Silence three warnings and make them errors to avoid introducing more in the future.
This commit is contained in:
parent
7d27a7a511
commit
79da90cea8
4 changed files with 5 additions and 4 deletions
|
@ -844,7 +844,7 @@ std::optional<std::vector<VkExtensionProperties>> EnumerateInstanceExtensionProp
|
|||
VK_SUCCESS) {
|
||||
return std::nullopt;
|
||||
}
|
||||
return std::move(properties);
|
||||
return properties;
|
||||
}
|
||||
|
||||
std::optional<std::vector<VkLayerProperties>> EnumerateInstanceLayerProperties(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue