mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
46ad8d4058
- includes are now sorted in consistent, logical order; first step in an attempt to fix the tomfoolery (no relation to Tom) brought in by include-what-you-use - shuffled around some cmake linking to simplify dependency graph - superfluous files removed
24 lines
357 B
C++
24 lines
357 B
C++
#include "ev.hpp"
|
|
|
|
#include "libuv.hpp"
|
|
|
|
#include <llarp/net/net.hpp>
|
|
|
|
#include <cstddef>
|
|
|
|
namespace llarp
|
|
{
|
|
EventLoop_ptr
|
|
EventLoop::create(size_t queueLength)
|
|
{
|
|
return std::make_shared<llarp::uv::Loop>(queueLength);
|
|
}
|
|
|
|
const net::Platform*
|
|
EventLoop::Net_ptr() const
|
|
{
|
|
return net::Platform::Default_ptr();
|
|
}
|
|
|
|
} // namespace llarp
|