From 52f1c788da9b642e549eda30bc19fe07c6ddaf3f Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 12 Jan 2021 10:58:50 -0800 Subject: [PATCH] doc --- documentation/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/client.rst b/documentation/client.rst index 017cd85..2ef5aa3 100644 --- a/documentation/client.rst +++ b/documentation/client.rst @@ -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();