Skip to content

Commit

Permalink
make both the formatter and the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jun 25, 2022
1 parent 3c576dd commit 1d321b0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/api/embed_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,9 @@ CommonEnvironmentSetup::~CommonEnvironmentSetup() {
}

bool platform_finished = false;
impl_->platform->AddIsolateFinishedCallback(
isolate,
[](void* data) { * static_cast<bool*>(data) = true; },
&platform_finished);
impl_->platform->AddIsolateFinishedCallback(isolate, [](void* data) {
*static_cast<bool*>(data) = true;
}, &platform_finished);
impl_->platform->UnregisterIsolate(isolate);
isolate->Dispose();

Expand Down

0 comments on commit 1d321b0

Please sign in to comment.