cleanup on helper class PoolFree.

This commit is contained in:
asuessenbach 2020-08-17 16:54:45 +02:00
parent 654a6b4e09
commit e2f7065c5d
2 changed files with 10 additions and 6 deletions

View File

@ -8046,7 +8046,9 @@ int main( int argc, char ** argv )
public:
PoolFree() = default;
PoolFree( OwnerType owner, PoolType pool, Dispatch const &dispatch ) VULKAN_HPP_NOEXCEPT
PoolFree( OwnerType owner,
PoolType pool,
Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT
: m_owner( owner )
, m_pool( pool )
, m_dispatch( &dispatch )
@ -8065,7 +8067,7 @@ int main( int argc, char ** argv )
private:
OwnerType m_owner = OwnerType();
PoolType m_pool = PoolType();
Dispatch const* m_dispatch = &VULKAN_HPP_DEFAULT_DISPATCHER;
Dispatch const * m_dispatch = nullptr;
};
)";

View File

@ -4959,7 +4959,9 @@ namespace VULKAN_HPP_NAMESPACE
public:
PoolFree() = default;
PoolFree( OwnerType owner, PoolType pool, Dispatch const & dispatch ) VULKAN_HPP_NOEXCEPT
PoolFree( OwnerType owner,
PoolType pool,
Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT
: m_owner( owner )
, m_pool( pool )
, m_dispatch( &dispatch )
@ -4984,7 +4986,7 @@ namespace VULKAN_HPP_NAMESPACE
private:
OwnerType m_owner = OwnerType();
PoolType m_pool = PoolType();
Dispatch const * m_dispatch = &VULKAN_HPP_DEFAULT_DISPATCHER;
Dispatch const * m_dispatch = nullptr;
};
using Bool32 = uint32_t;