From a8af97489549ef737b1518888545c9fedcf380ef Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 25 Aug 2013 00:44:22 -0700 Subject: [PATCH] Fix a C++11 compile error with clang. https://github.com/mxcl/homebrew/pull/22016#issuecomment-23222977 --- exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.cpp b/exec.cpp index dbfb66669..daad09f7f 100644 --- a/exec.cpp +++ b/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; } /**