mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-08 01:04:54 +00:00
Fix indentation
This commit is contained in:
parent
4f79a96660
commit
ed548b11da
@ -262,8 +262,8 @@ std::optional<std::string> TryMakeTempDirectory() {
|
|||||||
std::string dirPath(tmpdir_buf, len);
|
std::string dirPath(tmpdir_buf, len);
|
||||||
|
|
||||||
// finally, create the dir
|
// finally, create the dir
|
||||||
const bool createSuccessful = (_mkdir(dirPath.c_str()) != -1) ||
|
const bool createSuccessful =
|
||||||
(errno == EEXIST);
|
(_mkdir(dirPath.c_str()) != -1) || (errno == EEXIST);
|
||||||
|
|
||||||
if(createSuccessful) return dirPath;
|
if(createSuccessful) return dirPath;
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
Loading…
Reference in New Issue
Block a user