uv_async_init &complete

This commit is contained in:
Mike Morris
2014-09-03 15:13:59 -04:00
parent 17b1e13f34
commit 6e5308a61b

View File

@@ -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<Response>();
uv_async_init(**loop, async, complete);
uv_async_init(**loop, async, &complete);
}
}