Bug 1312: TopologyRead Assert condition fix
This commit is contained in:
1 parent
f10552744d
commit
8f185cee03
1 file changed
+1
-1
@@ -133,7 +133,7 @@ TopologyReader::Link::GetToNodeName (void) const
|
||||
std::string
|
||||
TopologyReader::Link::GetAttribute (const std::string &name) const
|
||||
{
|
||||
NS_ASSERT_MSG (m_linkAttr.find (name) == m_linkAttr.end (), "Requested topology link attribute not found");
|
||||
NS_ASSERT_MSG (m_linkAttr.find (name) != m_linkAttr.end (), "Requested topology link attribute not found");
|
||||
return m_linkAttr.find (name)->second;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user