@@ -383,15 +383,15 @@ bool runcpp2::Data::ScriptInfo::Equals(const ScriptInfo& other) const
383383 Cleanup.size () != other.Cleanup .size () ||
384384 Populated != other.Populated )
385385 {
386- return true ;
386+ return false ;
387387 }
388388
389389 for (const auto & it : RequiredProfiles)
390390 {
391391 if ( other.RequiredProfiles .count (it.first ) == 0 ||
392392 other.RequiredProfiles .at (it.first ) != it.second )
393393 {
394- return true ;
394+ return false ;
395395 }
396396 }
397397
@@ -400,7 +400,7 @@ bool runcpp2::Data::ScriptInfo::Equals(const ScriptInfo& other) const
400400 if ( other.OverrideCompileFlags .count (it.first ) == 0 ||
401401 !other.OverrideCompileFlags .at (it.first ).Equals (it.second ))
402402 {
403- return true ;
403+ return false ;
404404 }
405405 }
406406
@@ -409,7 +409,7 @@ bool runcpp2::Data::ScriptInfo::Equals(const ScriptInfo& other) const
409409 if ( other.OverrideLinkFlags .count (it.first ) == 0 ||
410410 !other.OverrideLinkFlags .at (it.first ).Equals (it.second ))
411411 {
412- return true ;
412+ return false ;
413413 }
414414 }
415415
@@ -418,7 +418,7 @@ bool runcpp2::Data::ScriptInfo::Equals(const ScriptInfo& other) const
418418 if ( other.OtherFilesToBeCompiled .count (it.first ) == 0 ||
419419 !other.OtherFilesToBeCompiled .at (it.first ).Equals (it.second ))
420420 {
421- return true ;
421+ return false ;
422422 }
423423 }
424424
@@ -427,44 +427,44 @@ bool runcpp2::Data::ScriptInfo::Equals(const ScriptInfo& other) const
427427 if ( other.IncludePaths .count (it.first ) == 0 ||
428428 !other.IncludePaths .at (it.first ).Equals (it.second ))
429429 {
430- return true ;
430+ return false ;
431431 }
432432 }
433433
434434 for (size_t i = 0 ; i < Dependencies.size (); ++i)
435435 {
436436 if (!Dependencies[i].Equals (other.Dependencies [i]))
437- return true ;
437+ return false ;
438438 }
439439
440440 for (const auto & it : Defines)
441441 {
442442 if (other.Defines .count (it.first ) == 0 || !other.Defines .at (it.first ).Equals (it.second ))
443- return true ;
443+ return false ;
444444 }
445445
446446 for (const auto & it : Setup)
447447 {
448448 if (other.Setup .count (it.first ) == 0 || !other.Setup .at (it.first ).Equals (it.second ))
449- return true ;
449+ return false ;
450450 }
451451
452452 for (const auto & it : PreBuild)
453453 {
454454 if (other.PreBuild .count (it.first ) == 0 || !other.PreBuild .at (it.first ).Equals (it.second ))
455- return true ;
455+ return false ;
456456 }
457457
458458 for (const auto & it : PostBuild)
459459 {
460460 if (other.PostBuild .count (it.first ) == 0 || !other.PostBuild .at (it.first ).Equals (it.second ))
461- return true ;
461+ return false ;
462462 }
463463
464464 for (const auto & it : Cleanup)
465465 {
466466 if (other.Cleanup .count (it.first ) == 0 || !other.Cleanup .at (it.first ).Equals (it.second ))
467- return true ;
467+ return false ;
468468 }
469469
470470 return true ;
0 commit comments