diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 77279f1..d0c5cfd 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -4091,11 +4091,10 @@ std::string { assert( commandData.returnType == "VkResult" ); - auto firstVectorParamIt = vectorParamIndices.begin(); - assert( commandData.params[0].type.type == commandData.handle ); #if !defined( NDEBUG ) + auto firstVectorParamIt = vectorParamIndices.begin(); auto secondVectorParamIt = std::next( firstVectorParamIt ); assert( firstVectorParamIt->second == secondVectorParamIt->second ); #endif