mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #718 from asuessenbach/cleanup
cleanup on helper class PoolFree.
This commit is contained in:
commit
f6baa59a76
@ -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;
|
||||
};
|
||||
)";
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user