forked from qt-creator/qt-creator
CppToolsPlugin: Simplify setup code
Change-Id: I4d738638aa363f66b3bbfd44f866eb8fa48fa226 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -109,8 +109,7 @@ CppToolsPlugin::CppToolsPlugin()
|
||||
: m_fileSettings(new CppFileSettings)
|
||||
{
|
||||
m_instance = this;
|
||||
auto bridgeImplementation = std::unique_ptr<CppToolsBridgeQtCreatorImplementation>(new CppToolsBridgeQtCreatorImplementation);
|
||||
CppToolsBridge::setCppToolsBridgeImplementation(std::move(bridgeImplementation));
|
||||
CppToolsBridge::setCppToolsBridgeImplementation(std::make_unique<CppToolsBridgeQtCreatorImplementation>());
|
||||
}
|
||||
|
||||
CppToolsPlugin::~CppToolsPlugin()
|
||||
|
||||
Reference in New Issue
Block a user