src/cxx_supportlib/Utils/IOUtils.cpp in passenger-5.0.26 vs src/cxx_supportlib/Utils/IOUtils.cpp in passenger-5.0.27
- old
+ new
@@ -770,10 +770,10 @@
pfd.fd = fd;
pfd.events = event;
pfd.revents = 0;
- Timer timer;
+ Timer<> timer;
ret = syscalls::poll(&pfd, 1, *timeout / 1000);
if (ret == -1) {
int e = errno;
throw SystemException("poll() failed", e);
} else {