- if( this->m_Connection != NULL )\r
- return(\r
- this->m_Connection->port1( ) == other &&\r
- this->m_Connection->port2( ) == this\r
- );\r
- else\r
- return( false );\r
+ bool conn = false;\r
+ auto i = this->m_Connection.begin( );\r
+ for( ; i != this->m_Connection.end( ); ++i )\r
+ conn |= ( ( *i )->port1( ) == other && ( *i )->port2( ) == this );\r
+ return( conn );\r