Change so that project h files are not listed as include dependency

This commit is contained in:
Thraix
2019-10-05 01:16:05 +02:00
parent c6efd9b382
commit fb4a849730
9 changed files with 163 additions and 100 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#pragma once
#include "Common.h"
#include "Utils.h"
#include <algorithm>
#include <cstring>
#include <dirent.h>
@@ -74,7 +75,7 @@ struct FileUtils
else
{
// Find the most common directory
std::string commonPath = CommonPrefix(from,to);
std::string commonPath = Utils::CommonPrefix(from,to);
while(commonPath.back() != '/')
commonPath.pop_back();
commonPath.pop_back();