astyle applied

This commit is contained in:
Daniel Chabrowski
2018-02-25 12:41:18 +01:00
parent 5355bd3a8f
commit de642b6263
5 changed files with 21 additions and 18 deletions

View File

@@ -235,7 +235,8 @@ private:
date.tm_min = _rotation_m;
date.tm_sec = 0;
auto rotation_time = std::chrono::system_clock::from_time_t(std::mktime(&date));
if (rotation_time > now) {
if (rotation_time > now)
{
return rotation_time;
}
return{ rotation_time + std::chrono::hours(24) };