From ea83a218f266f52b5070312bff24b3c754a2973d Mon Sep 17 00:00:00 2001 From: Amir Saboury Date: Sat, 24 Feb 2018 13:36:25 -0500 Subject: [PATCH] fix example deprecation --- examples/async_pi_estimate/async.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/async_pi_estimate/async.cc b/examples/async_pi_estimate/async.cc index 428a054a..0dca54df 100644 --- a/examples/async_pi_estimate/async.cc +++ b/examples/async_pi_estimate/async.cc @@ -47,7 +47,7 @@ class PiWorker : public AsyncWorker { , New(estimate) }; - callback->Call(2, argv); + callback->Call(2, argv, async_resource); } private: