Review: revert else condition
This commit is contained in:
parent
2b938c9103
commit
ddd1c7c7c7
@ -2154,10 +2154,10 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
|
|||||||
return formatter<std::tm, Char>::do_format(
|
return formatter<std::tm, Char>::do_format(
|
||||||
gmtime(std::chrono::time_point_cast<std::chrono::seconds>(val)), ctx,
|
gmtime(std::chrono::time_point_cast<std::chrono::seconds>(val)), ctx,
|
||||||
&subsecs);
|
&subsecs);
|
||||||
} else {
|
|
||||||
return formatter<std::tm, Char>::format(
|
|
||||||
gmtime(std::chrono::time_point_cast<std::chrono::seconds>(val)), ctx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return formatter<std::tm, Char>::format(
|
||||||
|
gmtime(std::chrono::time_point_cast<std::chrono::seconds>(val)), ctx);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user