Merge pull request #719 from asuessenbach/assert
Remove superfluous assertion.
This commit is contained in:
commit
24e03938c5
@ -2740,7 +2740,6 @@ void VulkanHppGenerator::appendFunctionHeaderArgumentEnhancedPointer( std::strin
|
|||||||
stripPrefix( param.type.type, "Vk" ) + "> " + strippedParameterName;
|
stripPrefix( param.type.type, "Vk" ) + "> " + strippedParameterName;
|
||||||
if ( withDefaults && !withAllocator )
|
if ( withDefaults && !withAllocator )
|
||||||
{
|
{
|
||||||
assert( param.type.type == "VkAllocationCallbacks" );
|
|
||||||
str += " VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT";
|
str += " VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user