mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
astyle applied
This commit is contained in:
@@ -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) };
|
||||
|
Reference in New Issue
Block a user