mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 18:39:03 +08:00
Clang format
This commit is contained in:
@@ -535,7 +535,7 @@ SPDLOG_INLINE bool create_dir(const filename_t &path) {
|
||||
|
||||
auto subdir = path.substr(0, token_pos);
|
||||
#ifdef _WIN32
|
||||
// if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
|
||||
// if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
|
||||
// otherwise path_exists(subdir) returns false (issue #3079)
|
||||
const bool is_drive = subdir.length() == 2 && subdir[1] == ':';
|
||||
if (is_drive) {
|
||||
|
Reference in New Issue
Block a user