logic: fixed handling non-ascii characters in cdb path and in cdb filename and command
This commit is contained in:
@@ -20,7 +20,7 @@ std::vector<FilePath> CxxFrameworkPathDetector::getPaths() const
|
||||
std::vector<FilePath> frameworkPaths;
|
||||
for (const std::string& path : paths)
|
||||
{
|
||||
if (utility::isPostfix(" (framework directory)", path))
|
||||
if (utility::isPostfix<std::string>(" (framework directory)", path))
|
||||
{
|
||||
frameworkPaths.push_back(FilePath(utility::replace(path, " (framework directory)", "")).makeCanonical());
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ std::vector<FilePath> CxxHeaderPathDetector::getPaths() const
|
||||
std::vector<FilePath> headerPaths;
|
||||
for (const std::string& path : paths)
|
||||
{
|
||||
if (!utility::isPostfix(" (framework directory)", path))
|
||||
if (!utility::isPostfix<std::string>(" (framework directory)", path))
|
||||
{
|
||||
headerPaths.push_back(FilePath(path).makeCanonical());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user