Fix type confusion

This commit is contained in:
2025-08-21 12:01:40 -04:00
parent cfddaddb31
commit c6ceb8745d
2 changed files with 8 additions and 6 deletions

View File

@@ -110,6 +110,10 @@ private:
int epollfd_ = -1;
int listen_sockfd_ = -1;
// Unique tags for special events to avoid type confusion in epoll data union
static inline const char listen_socket_tag = 0;
static inline const char shutdown_pipe_tag = 0;
// Private helper methods
void setup_shutdown_pipe();
void setup_signal_handling();