logic: fixed bug where adding an empty include path excludes everything

This commit is contained in:
mlangkabel
2018-04-10 15:52:02 +02:00
parent 8ce17dec8d
commit 648caa9c35
4 changed files with 40 additions and 38 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ std::vector<std::shared_ptr<IndexerCommand>> SourceGroupCxxEmpty::getIndexerComm
utility::append(compilerFlags, m_settings->getCompilerFlags());
std::set<FilePath> indexedPaths = getIndexedPaths();
std::set<FilePathFilter> excludeFilters = getExcludeFilters();
const std::set<FilePath> indexedPaths = getIndexedPaths();
const std::set<FilePathFilter> excludeFilters = getExcludeFilters();
std::vector<std::shared_ptr<IndexerCommand>> indexerCommands;
for (const FilePath& sourcePath: getAllSourceFilePaths())