Fix indentation

This commit is contained in:
Adrian Ebeling 2019-01-20 13:39:23 +01:00
parent 4f79a96660
commit ed548b11da

View File

@ -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;