⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/corosio/src/detail/epoll/op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

#include <atomic>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <stop_token>
Expand Down Expand Up @@ -96,7 +95,6 @@ struct epoll_op : scheduler_op
std::size_t* bytes_out = nullptr;

int fd = -1;
std::uint32_t events = 0;
int errn = 0;
std::size_t bytes_transferred = 0;

Expand All @@ -116,7 +114,6 @@ struct epoll_op : scheduler_op
void reset() noexcept
{
fd = -1;
events = 0;
errn = 0;
bytes_transferred = 0;
cancelled.store(false, std::memory_order_relaxed);
Expand Down Expand Up @@ -178,12 +175,6 @@ struct epoll_op : scheduler_op
virtual void perform_io() noexcept {}
};

inline epoll_op*
get_epoll_op(scheduler_op* h) noexcept
{
return static_cast<epoll_op*>(h->data());
}

//------------------------------------------------------------------------------

struct epoll_connect_op : epoll_op
Expand Down
Loading