diff --git a/modules/libcom/src/fdmgr/fdManager.cpp b/modules/libcom/src/fdmgr/fdManager.cpp index 9e133d2ad..e25a0f787 100644 --- a/modules/libcom/src/fdmgr/fdManager.cpp +++ b/modules/libcom/src/fdmgr/fdManager.cpp @@ -187,19 +187,12 @@ LIBCOM_API void fdManager::process(double delay) ++ioPending; #ifdef FDMGR_USE_POLL -#if __cplusplus >= 201100L - priv->pollfds.emplace_back(pollfd{ - .fd = iter->getFD(), - .events = WIN_POLLEVENT_FILTER(PollEvents[iter->getType()]) - }); -#else struct pollfd pollfd; pollfd.fd = iter->getFD(); pollfd.events = WIN_POLLEVENT_FILTER(PollEvents[iter->getType()]); pollfd.revents = 0; priv->pollfds.push_back(pollfd); #endif -#endif #ifdef FDMGR_USE_SELECT FD_SET(iter->getFD(), &priv->fdSets[iter->getType()]);