Update Project.cpp

This commit is contained in:
Jack Andersen 2015-06-13 10:12:55 -10:00
parent a3bde58262
commit 76056b37e7
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ bool Project::removePaths(const std::vector<ProjectPath>& paths, bool recursive)
{ {
std::string recursiveBase = path.getRelativePathUTF8(); std::string recursiveBase = path.getRelativePathUTF8();
for (auto it = existingPaths.begin(); for (auto it = existingPaths.begin();
it != existingPaths.end()) it != existingPaths.end();)
{ {
if (!(*it).compare(0, recursiveBase.size(), recursiveBase)) if (!(*it).compare(0, recursiveBase.size(), recursiveBase))
{ {