From d790fb8c7646bc1452fdbb90b1189971e24a54c0 Mon Sep 17 00:00:00 2001 From: John Rosasco Date: Mon, 12 Apr 2021 11:40:41 -0700 Subject: [PATCH] Add std::move to createResult --- VulkanHppGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index e777700..cb2aabc 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -15921,7 +15921,7 @@ namespace std throwResultException( result, message ); } #endif - return ResultValue( result, data ); + return ResultValue( result, std::move( data ) ); } #ifndef VULKAN_HPP_NO_SMART_HANDLE