Provide Thread objects with access to loop

This commit is contained in:
John Firebaugh
2015-04-21 10:44:38 -07:00
parent 41a44280ca
commit 32c818feea
5 changed files with 11 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ void DefaultFileSource::cancel(Request *req) {
// ----- Impl -----
DefaultFileSource::Impl::Impl(FileCache* cache_, const std::string& root)
DefaultFileSource::Impl::Impl(uv_loop_t*, FileCache* cache_, const std::string& root)
: cache(cache_), assetRoot(root.empty() ? platform::assetRoot() : root) {
}