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 );