diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp index b81e8509..47b8b089 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp @@ -397,7 +397,7 @@ namespace Widgets const auto& dataA = *(this->hexViewerDataA); const auto& dataB = *(this->hexViewerDataB); - static const auto isAddressExcluded = [this] (Targets::TargetMemoryAddress address) { + const auto isAddressExcluded = [this] (Targets::TargetMemoryAddress address) { for (const auto& excludedRegion : this->excludedRegionsA) { if (excludedRegion.addressRange.contains(address)) { return true;