Lambda formatting that works across clang-format versions (#2250)
This commit is contained in:
parent
6374ab3cef
commit
f689cff225
1 changed files with 2 additions and 1 deletions
|
|
@ -1020,7 +1020,8 @@ public:
|
|||
if ((outstanding.empty () || node->unresponsive_work_peers) && (node->config.work_threads != 0 || node->work.opencl))
|
||||
{
|
||||
local_generation_started = true;
|
||||
node->work.generate (this_l->root, [this_l](boost::optional<uint64_t> const & work_a) {
|
||||
node->work.generate (
|
||||
this_l->root, [this_l](boost::optional<uint64_t> const & work_a) {
|
||||
if (work_a)
|
||||
{
|
||||
this_l->set_once (work_a.value ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue