From 6e5308a61b455ea9e87ca20bc18d6964e6313b74 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 3 Sep 2014 15:13:59 -0400 Subject: [PATCH] uv_async_init &complete --- src/platform/request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/request.cpp b/src/platform/request.cpp index b028d8322..82e80b9a7 100644 --- a/src/platform/request.cpp +++ b/src/platform/request.cpp @@ -20,7 +20,7 @@ Request::Request(const std::string &url, // create an actual work request that is attached to the default loop. async = new uv_async_t(); async->data = new std::unique_ptr(); - uv_async_init(**loop, async, complete); + uv_async_init(**loop, async, &complete); } }