Enclose "free" in parenthesis to prevent interference with MSVC's debug free
This commit is contained in:
@@ -5971,7 +5971,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( m_owner && m_dispatch );
|
||||
m_owner.free( t, m_allocationCallbacks, *m_dispatch );
|
||||
( m_owner.free )( t, m_allocationCallbacks, *m_dispatch );
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -6037,7 +6037,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
template <typename T>
|
||||
void destroy( T t ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
m_owner.free( m_pool, t, *m_dispatch );
|
||||
( m_owner.free )( m_pool, t, *m_dispatch );
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user