diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-07 23:04:55 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-11 14:18:10 -0800 |
commit | b66233de786ec1b136c84fb2ec0afcce0e107e00 (patch) | |
tree | 3efdb0181d69d6d429e0ffca737b527e19cc5cbd /proc.cpp | |
parent | ff49792f44196f41156547efdf615bb2b52fcaaa (diff) |
Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out"
This reverts commit 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843.
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -869,7 +869,7 @@ static int select_try(job_t *j) for (size_t idx = 0; idx < j->io.size(); idx++) { - const io_data_t *d = j->io.at(idx); + const io_data_t *d = j->io.at(idx).get(); if (d->io_mode == IO_BUFFER) { int fd = d->param1.pipe_fd[0]; @@ -909,7 +909,7 @@ static void read_try(job_t *j) */ for (size_t idx = 0; idx < j->io.size(); idx++) { - io_data_t *d = j->io.at(idx); + io_data_t *d = j->io.at(idx).get(); if (d->io_mode == IO_BUFFER) { buff=d; |