Skip to content

Commit e03cdc9

Browse files
committed
Cleanup unused lambda captures
1 parent 936f9a5 commit e03cdc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vm/boostenv/main/boostenv.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ UnstableNode BoostEnvironment::listVMs(VM vm) {
164164

165165
void BoostEnvironment::killVM(VMIdentifier identifier, nativeint exitCode,
166166
const std::string& reason) {
167-
postVMEvent(identifier, [this, exitCode, reason] (BoostVM& targetVM) {
167+
postVMEvent(identifier, [exitCode, reason] (BoostVM& targetVM) {
168168
targetVM.requestTermination(exitCode, reason);
169169
});
170170
}

vm/vm/main/unpickler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class Unpickler {
287287
gnode->protocol.init(vm, "immval");
288288
return result;
289289
},
290-
[this] () {
290+
[] () {
291291
}
292292
);
293293
}

0 commit comments

Comments
 (0)