Explorar el Código

* Fixed compiler error in platform/select

master
bergmann hace 4 años
padre
commit
b5d782ef07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      include/cppcore/platform/select.inl

+ 1
- 1
include/cppcore/platform/select.inl Ver fichero

@@ -39,7 +39,7 @@ namespace cppcore
{
using duration_type = std::chrono::duration<T_rep, T_period>;

auto tmp = duration_cast<timespec>(timeout);
auto tmp = duration_cast<timeval>(timeout);
auto ret = ::select(fd_count, &read, &write, &except, &tmp);
if (ret < 0)
return __impl::throw_select_error(errno);


Cargando…
Cancelar
Guardar