aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/runcontrol.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-25 15:31:43 +0100
committerhjk <hjk@qt.io>2019-04-02 09:46:48 +0000
commit841bbfa7bf2575769d7dfec2d1f238cd65aacf5d (patch)
tree8dd8095ac57f9edbe7ffc81db33aa64aae44e1a4 /src/plugins/projectexplorer/runcontrol.h
parent73fbaea03624f1ef05a576d19f66291cc92fbf3c (diff)
ProjectExplorer: Switch order of template parameters
... of SimpleRunWorkerFactory. This requires being explicit about the SimpleTargetRunner worker default, but makes the template re-usable for current users of RunWorker::registerWorker() which I would like to phase out now, for less variations in the RunWorkerFactory setup. Change-Id: I32638437e5bb29f143650f5fde706711ab25accf Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runcontrol.h')
-rw-r--r--src/plugins/projectexplorer/runcontrol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h
index fa9b22cdf2..927bc1dfab 100644
--- a/src/plugins/projectexplorer/runcontrol.h
+++ b/src/plugins/projectexplorer/runcontrol.h
@@ -319,7 +319,7 @@ private:
bool m_useTerminal = false;
};
-template <class RunConfig, class RunWorker = SimpleTargetRunner>
+template <class RunWorker, class RunConfig>
class SimpleRunWorkerFactory : public RunWorkerFactory
{
public: