Removed an outdated assertion.

This commit is contained in:
asuessenbach 2020-11-12 16:42:38 +01:00
parent 87cf10706d
commit 06c708fc24

View File

@ -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<size_t> skippedParams =
determineSkippedParams( commandData.handle, commandData.params, {}, { nonConstPointerIndex }, false );