1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Remove unnecessary static_pointer_cast

This commit is contained in:
Jason Rhinelander 2023-08-28 18:05:34 -03:00
parent 99be31b72f
commit 78f866347b
No known key found for this signature in database
GPG key ID: C4992CE7A88D4262

View file

@ -96,8 +96,7 @@ namespace llarp
std::shared_ptr<AbstractRouter>
Context::makeRouter(const EventLoop_ptr& loop)
{
return std::static_pointer_cast<AbstractRouter>(
std::make_shared<Router>(loop, makeVPNPlatform()));
return std::make_shared<Router>(loop, makeVPNPlatform());
}
std::shared_ptr<vpn::Platform>