ProjectExplorer: Use unique_ptr to store KitInformation

Change-Id: I406b6bed005fb7455e6ee41d81a2f314584a051a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Tobias Hunger
2018-07-03 11:49:25 +02:00
parent 6aeb06c8d3
commit 05fb67fee7
9 changed files with 32 additions and 30 deletions

View File

@@ -3271,7 +3271,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
mstart->addSeparator(Constants::G_GENERAL);
mstart->addSeparator(Constants::G_SPECIAL);
KitManager::registerKitInformation(new DebuggerKitInformation);
KitManager::registerKitInformation<DebuggerKitInformation>();
// Task integration.
//: Category under which Analyzer tasks are listed in Issues view