Skip to content

Commit c03645d

Browse files
Fix clang-format in CoroTaskRunner.ipp
Collapse multi-line function calls to match CI clang-format version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7b5f0d1 commit c03645d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

include/xrpl/core/CoroTaskRunner.ipp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ JobQueue::CoroTaskRunner::post()
7777
}
7878

7979
// sp prevents 'this' from being destroyed while the job is pending
80-
if (jq_.addJob(
81-
type_, name_, [this, sp = shared_from_this()]() { resume(); }))
80+
if (jq_.addJob(type_, name_, [this, sp = shared_from_this()]() { resume(); }))
8281
{
8382
return true;
8483
}
@@ -104,9 +103,7 @@ JobQueue::CoroTaskRunner::resume()
104103
auto saved = detail::getLocalValues().release();
105104
detail::getLocalValues().reset(&lvs_);
106105
std::lock_guard lock(mutex_);
107-
XRPL_ASSERT(
108-
!task_.done(),
109-
"xrpl::JobQueue::CoroTaskRunner::resume : task is not done");
106+
XRPL_ASSERT(!task_.done(), "xrpl::JobQueue::CoroTaskRunner::resume : task is not done");
110107
task_.handle().resume();
111108
detail::getLocalValues().release();
112109
detail::getLocalValues().reset(saved);

0 commit comments

Comments
 (0)