Gems/EMotionFX/Code/MCore/Source/LogManager.cpp
size_t LogManager::FindLogCallback(LogCallback* callback) const
    {
        // iterate through all callbacks
        for (size_t i = 0; i < m_logCallbacks.size(); ++i)
        {
            if (m_logCallbacks[i] == callback)
            {
                return i;
            }
        }

        return InvalidIndex;
    }
// find the index of a given callback
find the index of a given callback
find the index of a given callback
size_t LogManager::FindLogCallback(LogCallback* callback) const
    {
        for (size_t i = 0; i < m_logCallbacks.size(); ++i)
        {
            if (m_logCallbacks[i] == callback)
            {
                return i;
            }
        }
        return InvalidIndex;
    }
size_t LogManager :: FindLogCallback ( LogCallback * callback ) const { for ( size_t i = 0 ; i < m_logCallbacks . size ( ) ; ++ i ) { if ( m_logCallbacks [ i ] == callback ) { return i ; } } return InvalidIndex ; }
find the index of a given callback
find the index of a given callback
// iterate through all callbacks