From 6e1920e3673e42b8d5ddb72d13db59ab9a60081a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 4 Feb 2021 15:43:02 +0100 Subject: [PATCH] Vk: minor. Name the move constructor/assignment arguments so it's clearer that it's indeed a custom implementation and not just a defaulted function moved into the cpp. --- src/Magnum/Vk/RenderPassCreateInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Vk/RenderPassCreateInfo.h b/src/Magnum/Vk/RenderPassCreateInfo.h index 8f84e6ca4..27332593c 100644 --- a/src/Magnum/Vk/RenderPassCreateInfo.h +++ b/src/Magnum/Vk/RenderPassCreateInfo.h @@ -546,7 +546,7 @@ class MAGNUM_VK_EXPORT SubpassDescription { SubpassDescription(const SubpassDescription&) = delete; /** @brief Move constructor */ - SubpassDescription(SubpassDescription&&) noexcept; + SubpassDescription(SubpassDescription&& other) noexcept; ~SubpassDescription(); @@ -554,7 +554,7 @@ class MAGNUM_VK_EXPORT SubpassDescription { SubpassDescription& operator=(const SubpassDescription&) = delete; /** @brief Move assignment */ - SubpassDescription& operator=(SubpassDescription&&) noexcept; + SubpassDescription& operator=(SubpassDescription&& other) noexcept; /** * @brief Set input attachments