Fixed seg fault bug in snapshot diff window (caused by invalid this pointer)
This commit is contained in:
@@ -397,7 +397,7 @@ namespace Widgets
|
|||||||
const auto& dataA = *(this->hexViewerDataA);
|
const auto& dataA = *(this->hexViewerDataA);
|
||||||
const auto& dataB = *(this->hexViewerDataB);
|
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) {
|
for (const auto& excludedRegion : this->excludedRegionsA) {
|
||||||
if (excludedRegion.addressRange.contains(address)) {
|
if (excludedRegion.addressRange.contains(address)) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user