瀏覽代碼

* Fixed compiler error in platform/select

master
bergmann 4 年之前
父節點
當前提交
b5d782ef07
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/cppcore/platform/select.inl

+ 1
- 1
include/cppcore/platform/select.inl 查看文件

@@ -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…
取消
儲存