Moved Poll to net namespace.

This commit is contained in:
Jari Sundell
2025-11-19 19:05:16 +01:00
committed by GitHub
parent b825906034
commit 30cec98799
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -7,13 +7,13 @@
namespace input {
void
InputEvent::insert(torrent::Poll* p) {
InputEvent::insert(torrent::net::Poll* p) {
p->open(this);
p->insert_read(this);
}
void
InputEvent::remove(torrent::Poll* p) {
InputEvent::remove(torrent::net::Poll* p) {
p->remove_read(this);
p->close(this);
}
+3 -3
View File
@@ -4,7 +4,7 @@
#include <functional>
#include <torrent/event.h>
#include <torrent/poll.h>
#include <torrent/net/poll.h>
namespace input {
@@ -14,8 +14,8 @@ public:
InputEvent(int fd) { m_fileDesc = fd; }
void insert(torrent::Poll* p);
void remove(torrent::Poll* p);
void insert(torrent::net::Poll* p);
void remove(torrent::net::Poll* p);
void event_read();
void event_write();