Commit 3eadda94 authored by gabime's avatar gabime

code formating

parent dea6a7c2
......@@ -8,12 +8,12 @@ void prepare_logdir()
system("del /F /Q logs\\*");
#else
auto rv = system("mkdir -p logs");
if(rv != 0)
if (rv != 0)
{
throw std::runtime_error("Failed to mkdir -p logs");
}
rv = system("rm -f logs/*");
if(rv != 0)
if (rv != 0)
{
throw std::runtime_error("Failed to rm -f logs/*");
}
......@@ -64,5 +64,4 @@ bool ends_with(std::string const &value, std::string const &ending)
return false;
}
return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment