make it work

pull/340/head
Jeff Becker 5 years ago
parent 5c941263e9
commit 482dce28bd
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -699,5 +699,11 @@ namespace llarp
return router->Now();
}
std::unique_ptr< AbstractContext >
makeContext()
{
return std::make_unique< Context >();
}
} // namespace dht
} // namespace llarp

@ -5,6 +5,7 @@
llarp_dht_context::llarp_dht_context(llarp::AbstractRouter *router)
{
parent = router;
impl = llarp::dht::makeContext();
}
struct llarp_dht_context *

Loading…
Cancel
Save