lokinet/llarp/ev/ev.cpp
dr7ana 46ad8d4058 Clang format include sorting + CMake
- 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
2023-10-24 12:11:51 -07:00

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