Browse Source

* Fixed compiler error in platform/select

master
bergmann 4 years ago
parent
commit
b5d782ef07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/cppcore/platform/select.inl

+ 1
- 1
include/cppcore/platform/select.inl View File

@@ -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);


Loading…
Cancel
Save