From 06c708fc2417200f4e49dde99713d5f8b274052d Mon Sep 17 00:00:00 2001 From: asuessenbach Date: Thu, 12 Nov 2020 16:42:38 +0100 Subject: [PATCH] Removed an outdated assertion. --- VulkanHppGenerator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 9f681d8..251125c 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -3829,8 +3829,7 @@ std::string VulkanHppGenerator::constructCommandResultGetChain( std::string cons bool definition, size_t nonConstPointerIndex ) const { - assert( !commandData.handle.empty() && ( commandData.returnType == "VkResult" ) && - ( commandData.successCodes.size() == 1 ) && !commandData.errorCodes.empty() ); + assert( !commandData.handle.empty() && ( commandData.returnType == "VkResult" ) && !commandData.errorCodes.empty() ); std::set skippedParams = determineSkippedParams( commandData.handle, commandData.params, {}, { nonConstPointerIndex }, false );