mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-07 08:44:55 +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 =
|
||||
g_config->cache.directory + (src[0] == '/' ? src.substr(1) : src);
|
||||
#ifdef _WIN32
|
||||
std::replace(ret.begin(), ret.end(), ':', '@');
|
||||
std::replace(ret.begin()+2, ret.end(), ':', '@');
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user