This commit is contained in:
Michael Davidsaver
2021-01-13 12:37:52 -08:00
parent e9ce80880d
commit 52f1c788da
+1 -1
View File
@@ -201,7 +201,7 @@ For example, the following creates a reference loop between the Operation instan
Context ctxt(...);
myptr->op = ctxt.get("pv:name")
.result([ctxt](Result&& result) {
.result([myptr](Result&& result) { // <-- Danger!
})
.exec();