Provide default arguments in ObjectFree constructor for allocationCallbacks and dispatcher.
This commit is contained in:
@@ -4615,8 +4615,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ObjectFree() : m_owner(), m_allocationCallbacks( nullptr ), m_dispatch( nullptr ) {}
|
||||
|
||||
ObjectFree( OwnerType owner,
|
||||
Optional<const AllocationCallbacks> allocationCallbacks,
|
||||
Dispatch const & dispatch ) VULKAN_HPP_NOEXCEPT
|
||||
Optional<const AllocationCallbacks> allocationCallbacks = nullptr,
|
||||
Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT
|
||||
: m_owner( owner )
|
||||
, m_allocationCallbacks( allocationCallbacks )
|
||||
, m_dispatch( &dispatch )
|
||||
@@ -4626,6 +4626,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
return m_owner;
|
||||
}
|
||||
|
||||
Optional<const AllocationCallbacks> getAllocator() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_allocationCallbacks;
|
||||
|
||||
Reference in New Issue
Block a user