logic: Fixed source files within CDB not indexed unless within Indexed Header Paths

This commit is contained in:
Eberhard Graether
2017-05-22 23:02:35 +02:00
parent 3598fd357d
commit 082dfc2e1a
10 changed files with 41 additions and 26 deletions
@@ -39,7 +39,7 @@ void InterprocessIndexer::work()
data.setIndexedFiles(m_interprocessIndexingStatusManager.getIndexedFiles());
std::shared_ptr<FileRegister> fileRegister = std::make_shared<FileRegister>(
data, indexerCommand->getIndexedPaths(), indexerCommand->getExcludedPath()
data, indexerCommand->getSourceFilePath(), indexerCommand->getIndexedPaths(), indexerCommand->getExcludedPath()
);
std::shared_ptr<IntermediateStorage> result = indexer->index(indexerCommand, fileRegister);