[FIXED] The lookup map isn't populated when RLV_RELEASE is defined

-> RLV_ASSERT resolves to nothing

--HG--
branch : RLVa
master
Kitty Barnett 2016-06-25 00:31:01 +02:00
parent aaedd151ce
commit 4747f6db42
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ RlvBehaviourDictionary::RlvBehaviourDictionary()
// Populate m_String2InfoMap (the tuple <behaviour, type> should be unique)
for (const RlvBehaviourInfo* pBhvrInfo : m_BhvrInfoList)
{
RLV_ASSERT(m_String2InfoMap.insert(std::make_pair(std::make_pair(pBhvrInfo->getBehaviour(), (ERlvParamType)pBhvrInfo->getParamTypeMask()), pBhvrInfo)).second == true);
RLV_VERIFY(m_String2InfoMap.insert(std::make_pair(std::make_pair(pBhvrInfo->getBehaviour(), (ERlvParamType)pBhvrInfo->getParamTypeMask()), pBhvrInfo)).second == true);
}
// Populate m_Bhvr2InfoMap (there can be multiple entries per ERlvBehaviour)