diff options
Diffstat (limited to 'src/plugins/clangcodemodel/clangmodelmanagersupport.cpp')
-rw-r--r-- | src/plugins/clangcodemodel/clangmodelmanagersupport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/clangcodemodel/clangmodelmanagersupport.cpp b/src/plugins/clangcodemodel/clangmodelmanagersupport.cpp index 0d7780e9f3..b37e776f56 100644 --- a/src/plugins/clangcodemodel/clangmodelmanagersupport.cpp +++ b/src/plugins/clangcodemodel/clangmodelmanagersupport.cpp @@ -424,7 +424,8 @@ void ClangModelManagerSupport::updateLanguageClient( const ClangDiagnosticConfig warningsConfig = warningsConfigForProject(project); auto future = Utils::runAsync(&Internal::generateCompilationDB, projectInfo, jsonDbDir, CompilationDbPurpose::CodeModel, - warningsConfig, optionsForProject(project, warningsConfig), + qMakePair(warningsConfig, + optionsForProject(project, warningsConfig)), includeDir); generatorWatcher->setFuture(future); m_generatorSynchronizer.addFuture(future); |