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