style: Update code formatting (#1682)

For #1664
This commit is contained in:
Alex Kremer
2024-10-14 17:15:36 +01:00
committed by GitHub
parent c3be155f8d
commit b761fffa2d
2 changed files with 5 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ private:
// The timer below can be called with no error code even if the operation is completed before the timeout, so we
// need an additional flag here
timer.async_wait([&cancellationSignal, isCompleted](boost::system::error_code errorCode) {
if (!errorCode and not *isCompleted)
if (!errorCode and !*isCompleted)
cancellationSignal.emit(boost::asio::cancellation_type::terminal);
});
operation(cyield);