Merge pull request #718 from asuessenbach/cleanup

cleanup on helper class PoolFree.
This commit is contained in:
Andreas Süßenbach 2020-08-17 21:52:32 +02:00 committed by GitHub
commit f6baa59a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 )
@ -8063,9 +8065,9 @@ int main( int argc, char ** argv )
}
private:
OwnerType m_owner = OwnerType();
PoolType m_pool = PoolType();
Dispatch const* m_dispatch = &VULKAN_HPP_DEFAULT_DISPATCHER;
OwnerType m_owner = OwnerType();
PoolType m_pool = PoolType();
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;