Commit 445cf258 authored by hjk's avatar hjk
Browse files

Valgrind: Code cosmetics



Use covariant return types for aspect creation,
other aspects already did, it does no harm, so follow suit.
Add 'override'. Remove empty line.

Change-Id: I68e85f64e60becf47ee407eb6d1800f43c4d0755
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 078f3c6e
...@@ -124,15 +124,14 @@ public: ...@@ -124,15 +124,14 @@ public:
resetProjectToGlobalSettings(); resetProjectToGlobalSettings();
} }
IRunConfigurationAspect *create(RunConfiguration *parent) const ValgrindRunConfigurationAspect *create(RunConfiguration *parent) const override
{ {
return new ValgrindRunConfigurationAspect(parent); return new ValgrindRunConfigurationAspect(parent);
} }
RunConfigWidget *createConfigurationWidget() RunConfigWidget *createConfigurationWidget() override
{ {
return new AnalyzerRunConfigWidget(this); return new AnalyzerRunConfigWidget(this);
} }
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment