Fix ambiguous constructor of ObjectDestroy with vk::NoParent. (#451)

Resolves #450
This commit is contained in:
Andreas Süßenbach
2019-12-04 08:34:58 +01:00
committed by GitHub
parent afe4e6b03f
commit 3f82338d9f
2 changed files with 2 additions and 2 deletions

View File

@@ -2691,7 +2691,7 @@ namespace VULKAN_HPP_NAMESPACE
, m_dispatch( nullptr )
{}
ObjectDestroy( Optional<const AllocationCallbacks> allocationCallbacks = nullptr, Dispatch const &dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT
ObjectDestroy( Optional<const AllocationCallbacks> allocationCallbacks, Dispatch const &dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT
: m_allocationCallbacks( allocationCallbacks )
, m_dispatch( &dispatch )
{}