aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-08-25 00:44:22 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-08-25 00:45:43 -0700
commita8af97489549ef737b1518888545c9fedcf380ef (patch)
tree243e4eab22bed790230fa5971865ed1f0be10ac6 /exec.cpp
parent8605cc685ddcf9adc1a4044b37178fd3e985c8bd (diff)
Fix a C++11 compile error with clang.
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index dbfb6666..daad09f7 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;
}
/**