Fixed formatting
This commit is contained in:
@@ -311,8 +311,8 @@ std::string path_to_url(const std::filesystem::path &p)
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
// On Windows convert the root path using its drive letter, e.g.:
|
// On Windows convert the root path using its drive letter, e.g.:
|
||||||
// C:\A\B\include.h -> /c/A/B/include.h
|
// C:\A\B\include.h -> /c/A/B/include.h
|
||||||
if(p.root_name().string().size() > 1) {
|
if (p.root_name().string().size() > 1) {
|
||||||
if(p.is_absolute()) {
|
if (p.is_absolute()) {
|
||||||
path_tokens.push_back(std::string{
|
path_tokens.push_back(std::string{
|
||||||
std::tolower(p.root_name().string().at(0), std::locale())});
|
std::tolower(p.root_name().string().at(0), std::locale())});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user