mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-07 16:54:54 +00:00
Fixed hierachicalPath on windows
This commit is contained in:
parent
1c7b225449
commit
60ef980f43
@ -150,7 +150,7 @@ std::string GetCachePath(std::string src) {
|
|||||||
std::string ret =
|
std::string ret =
|
||||||
g_config->cache.directory + (src[0] == '/' ? src.substr(1) : src);
|
g_config->cache.directory + (src[0] == '/' ? src.substr(1) : src);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
std::replace(ret.begin(), ret.end(), ':', '@');
|
std::replace(ret.begin()+2, ret.end(), ':', '@');
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user