mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1234 from theHamsta/fix-warnings
chore(warnings): fix warnings about unused variables in Release mode
This commit is contained in:
commit
d493aa4ab6
@ -9105,7 +9105,9 @@ std::string
|
||||
if ( !handle.second.secondLevelCommands.empty() )
|
||||
{
|
||||
assert( !handle.second.constructorIts.empty() );
|
||||
#if !defined( NDEBUG )
|
||||
auto constructorCommandIt = m_commands.find( handle.second.constructorIts.front()->first );
|
||||
#endif
|
||||
assert( ( constructorCommandIt != m_commands.end() ) && ( 1 < constructorCommandIt->second.params.size() ) );
|
||||
assert( std::next( constructorCommandIt->second.params.begin() )->type.type == "Vk" + parentType );
|
||||
|
||||
@ -9732,7 +9734,9 @@ std::tuple<std::string, std::string, std::string, std::string, std::string, std:
|
||||
assert( !handle.second.constructorIts.front()->second.params.empty() );
|
||||
auto const & frontType = handle.second.constructorIts.front()->second.params.front().type.type;
|
||||
assert( isHandleType( frontType ) );
|
||||
#if !defined( NDEBUG )
|
||||
auto handleIt = m_handles.find( "Vk" + parentType );
|
||||
#endif
|
||||
assert( handleIt != m_handles.end() );
|
||||
assert( handleIt->second.parent == frontType );
|
||||
std::string frontName = handle.second.constructorIts.front()->second.params.front().name;
|
||||
|
Loading…
Reference in New Issue
Block a user