diff --git a/Cpp.Build.props b/Cpp.Build.props index 686d6c54b8..66ddb453ff 100644 --- a/Cpp.Build.props +++ b/Cpp.Build.props @@ -35,14 +35,14 @@ x64 false $(MSBuildThisFileFullPath)\..\deps\;$(MSBuildThisFileFullPath)\..\packages\;$(ExternalIncludePath) - true - $(MsbuildThisFileDirectory)\CppRuleSet.ruleset + true + $(MsbuildThisFileDirectory)\CppRuleSet.ruleset pch.h Level4 - 26800;28251;4239;4244;4245;4389;4456;4457;4701;6387;4458;4505;4515;4459;4702;6031;6248;26451;28182;%(DisableSpecificWarnings) + 26800;28251;4244;4245;4389;4456;4457;4701;6387;4458;4505;4515;4459;4702;6031;6248;26451;28182;%(DisableSpecificWarnings) true TurnOffAllWarnings false diff --git a/src/modules/fancyzones/FancyZonesLib/FancyZonesData/AppZoneHistory.cpp b/src/modules/fancyzones/FancyZonesLib/FancyZonesData/AppZoneHistory.cpp index 0ca7a4a21b..212b763581 100644 --- a/src/modules/fancyzones/FancyZonesLib/FancyZonesData/AppZoneHistory.cpp +++ b/src/modules/fancyzones/FancyZonesLib/FancyZonesData/AppZoneHistory.cpp @@ -305,12 +305,11 @@ void AppZoneHistory::AdjustWorkAreaIds(const std::vectorworkAreaId.monitorId; + auto& dataMonitorId = dataIter.workAreaId.monitorId; bool serialNumberNotSet = dataMonitorId.serialNumber.empty() && !dataMonitorId.deviceId.isDefault(); bool monitorNumberNotSet = dataMonitorId.deviceId.number == 0; if (serialNumberNotSet || monitorNumberNotSet)