From 3bc63d9560481b7ac42f1af891780171931cae70 Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 24 Aug 2023 00:26:29 +0100 Subject: [PATCH] Tidying --- .../SnapshotManager/SnapshotDiff/SnapshotDiff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1a2321cf..d7c02207 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/SnapshotDiff.cpp @@ -67,7 +67,7 @@ namespace Widgets , focusedRegionsA(snapshotA.focusedRegions) , excludedRegionsA(snapshotA.excludedRegions) , stackPointerA(snapshotA.stackPointer) - , hexViewerDataB(dataB) + , hexViewerDataB(std::move(dataB)) , focusedRegionsB(focusedRegionsB) , excludedRegionsB(excludedRegionsB) , stackPointerB(stackPointerB) @@ -107,7 +107,7 @@ namespace Widgets std::vector excludedRegions, Targets::TargetStackPointer stackPointer ) { - this->hexViewerDataB = data; + this->hexViewerDataB = std::move(data); this->focusedRegionsB = focusedRegions; this->excludedRegionsB = excludedRegions; this->stackPointerB = stackPointer;