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:
parent
99be31b72f
commit
78f866347b
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue