mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-26 23:19:07 +00:00
chore: Brace the multi-line deadline assignment for clang-tidy
readability-braces-around-statements (ShortStatementLines: 2) requires braces once clang-format wraps the assignment onto a second line.
This commit is contained in:
@@ -222,8 +222,10 @@ public:
|
||||
// Mark us as shutting down. A wait error ends the attempt exactly as a
|
||||
// timeout does.
|
||||
if (!shutdown_)
|
||||
{
|
||||
shutdown_ =
|
||||
ecResult ? ecResult : boost::system::error_code{boost::asio::error::timed_out};
|
||||
}
|
||||
|
||||
// Cancel any resolving.
|
||||
resolver_.cancel();
|
||||
|
||||
Reference in New Issue
Block a user