diff options
author | hjk <hjk@qt.io> | 2018-03-08 12:39:03 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-03-09 16:16:38 +0000 |
commit | afe13e68129a4bdd661c10aaf294237ed198707e (patch) | |
tree | 82f157d75d665fd576107ccf797e8350b195cd46 /tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp | |
parent | f028a74f322d8c5e7d49b78d65b50e6e3285f13f (diff) | |
download | qt-creator-afe13e68129a4bdd661c10aaf294237ed198707e.tar.gz |
RunConfigurationFactory: Simplify RunConfigFactory::create use
A for (f : X.allFs()) if (f.canHandle(t)) { f.doIt() ... } }
pattern can be replaced by some static X.doIt(t), and
item.factory->create(target, item) by some item.create(target).
Change-Id: I65df8b71e03272d60f41a16795ea43a0fdb262ef
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp')
0 files changed, 0 insertions, 0 deletions