mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
Fix a C++11 compile error with clang.
https://github.com/mxcl/homebrew/pull/22016#issuecomment-23222977
This commit is contained in:
parent
8605cc685d
commit
a8af974895
1 changed files with 1 additions and 1 deletions
2
exec.cpp
2
exec.cpp
|
@ -376,7 +376,7 @@ static void launch_process_nofork(process_t *p)
|
|||
*/
|
||||
static int has_fd(const io_chain_t &d, int fd)
|
||||
{
|
||||
return io_chain_get(d, fd) != NULL;
|
||||
return io_chain_get(d, fd).get() != NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue