Skip to content

Commit

Permalink
Fixed missing "return", fixed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Faber committed Jun 12, 2024
1 parent 2fa55e4 commit 08c3227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/importproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ bool ImportProject::importVcxproj(const std::string &filename, std::map<std::str
}
if (!simplifyPathWithVariables(pathToSharedItemsFile, variables)) {
printError("Could not simplify path to referenced shared items project");
false;
return false;
}

SharedItemsProject toAdd = importVcxitems(pathToSharedItemsFile, fileFilters, cache);
Expand Down Expand Up @@ -865,8 +865,8 @@ bool ImportProject::importVcxproj(const std::string &filename, std::map<std::str

ImportProject::SharedItemsProject ImportProject::importVcxitems(const std::string& filename, const std::vector<std::string>& fileFilters, std::vector<SharedItemsProject> &cache)
{
auto isInCacheCheck = [filename](const ImportProject::SharedItemsProject& e) -> bool {
return filename == e.pathToProjectFile;
auto isInCacheCheck = [filename](const ImportProject::SharedItemsProject& e) -> bool {
return filename == e.pathToProjectFile;
};
auto iterator = std::find_if(cache.begin(), cache.end(), isInCacheCheck);
if (iterator != std::end(cache)) {
Expand Down

0 comments on commit 08c3227

Please sign in to comment.