@@ -257,9 +257,9 @@ void UpgradeMuxData::muxDataProcessUpgradeRemoval(Object* obj) const
257257 it++)
258258 {
259259 const UpgradeTemplate* theTemplate = TheUpgradeCenter->findUpgrade ( *it );
260- if ( !theTemplate && !it-> isEmpty () && !it-> isNone () )
260+ if ( !theTemplate )
261261 {
262- DEBUG_CRASH ((" An upgrade module references %s , which is not an Upgrade" , it->str ()));
262+ DEBUG_CRASH ((" An upgrade module references '%s' , which is not an Upgrade" , it->str ()));
263263 throw INI_INVALID_DATA;
264264 }
265265
@@ -299,9 +299,9 @@ void UpgradeMuxData::getUpgradeActivationMasks(UpgradeMaskType& activation, Upgr
299299 it++)
300300 {
301301 const UpgradeTemplate* theTemplate = TheUpgradeCenter->findUpgrade ( *it );
302- if ( !theTemplate && !it-> isEmpty () && !it-> isNone () )
302+ if ( !theTemplate )
303303 {
304- DEBUG_CRASH ((" An upgrade module references %s , which is not an Upgrade" , it->str ()));
304+ DEBUG_CRASH ((" An upgrade module references '%s' , which is not an Upgrade" , it->str ()));
305305 throw INI_INVALID_DATA;
306306 }
307307
@@ -313,11 +313,12 @@ void UpgradeMuxData::getUpgradeActivationMasks(UpgradeMaskType& activation, Upgr
313313 it++)
314314 {
315315 const UpgradeTemplate* theTemplate = TheUpgradeCenter->findUpgrade ( *it );
316- if ( !theTemplate && !it-> isEmpty () && !it-> isNone () )
316+ if ( !theTemplate )
317317 {
318- DEBUG_CRASH ((" An upgrade module references %s , which is not an Upgrade" , it->str ()));
318+ DEBUG_CRASH ((" An upgrade module references '%s' , which is not an Upgrade" , it->str ()));
319319 throw INI_INVALID_DATA;
320320 }
321+
321322 m_conflictingMask.set ( theTemplate->getUpgradeMask () );
322323 }
323324
0 commit comments