Skip to content

Commit

Permalink
remove “()”
Browse files Browse the repository at this point in the history
  • Loading branch information
PioLing authored Jul 25, 2024
1 parent 4c055ad commit 42ffd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Poller/EventPoller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ int EventPoller::addEvent(int fd, int event, PollEventCB cb) {
if (isCurrentThread()) {
#if defined(HAS_EPOLL)
struct epoll_event ev = {0};
ev.events = (toEpoll(event)) ;
ev.events = toEpoll(event) ;
ev.data.fd = fd;
int ret = epoll_ctl(_event_fd, EPOLL_CTL_ADD, fd, &ev);
if (ret != -1) {
Expand Down

0 comments on commit 42ffd6e

Please sign in to comment.