Valgrind: Use TypedSelectionAspect

Change-Id: I6796f3b5f42214b61025a2854e33dcaae2da9413
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2025-02-20 09:03:50 +01:00
parent 9dd5fddffe
commit c8cd64d47f
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ ValgrindToolRunner::ValgrindToolRunner(RunControl *runControl, const QString &pr
});
}
static QString selfModifyingCodeDetectionToString(int detection)
static QString selfModifyingCodeDetectionToString(ValgrindSettings::SelfModifyingCodeDetection detection)
{
switch (detection) {
case ValgrindSettings::DetectSmcNo: return "none";

View File

@@ -62,7 +62,7 @@ public:
// Generic valgrind settings
Utils::FilePathAspect valgrindExecutable{this};
Utils::StringAspect valgrindArguments{this};
Utils::SelectionAspect selfModifyingCodeDetection{this};
Utils::TypedSelectionAspect<ValgrindSettings::SelfModifyingCodeDetection> selfModifyingCodeDetection{this};
SuppressionAspect suppressions;