Fix loop to actually get executed
Change-Id: I736868fbaa0783a2ed8be04c99f440f1cb964048
This commit is contained in:
parent
e6aaf64cfc
commit
fdfcb1c8de
@ -877,11 +877,9 @@ JNI_info::JNI_info(
|
||||
|
||||
void JNI_info::destruct( JNIEnv * jni_env )
|
||||
{
|
||||
t_str2type::const_iterator iPos( m_type_map.begin() );
|
||||
t_str2type::const_iterator const iEnd( m_type_map.begin() );
|
||||
for ( ; iPos != iEnd; ++iPos )
|
||||
for (auto & i: m_type_map)
|
||||
{
|
||||
iPos->second.m_info->destroy( jni_env );
|
||||
i.second.m_info->destroy( jni_env );
|
||||
}
|
||||
if (nullptr != m_XInterface_type_info)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user