aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/process.cc
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-04-26 17:46:12 +0200
committerAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-05-03 22:54:13 +0200
commitf229e6b71de24d65caea010053f0650d53bece01 (patch)
treebf12853cd9ecf8a54ab7852ab7c15034e76509c1 /paludis/util/process.cc
parentab1f3d486986148560158e38640f8258d25881a3 (diff)
downloadpaludis-f229e6b71de24d65caea010053f0650d53bece01.tar.gz
paludis-f229e6b71de24d65caea010053f0650d53bece01.tar.xz
Use StreamHolder
Diffstat (limited to 'paludis/util/process.cc')
-rw-r--r--paludis/util/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index ff0cf5a3d..48bb92841 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -567,7 +567,7 @@ Process::run()
if (! _imp->capture_stdout)
{
thread->own_capture_stdout.reset(new SafeOFStream(STDOUT_FILENO, false));
- _imp->capture_stdout = thread->own_capture_stdout.get();
+ _imp->capture_stdout = *thread->own_capture_stdout;
}
}
@@ -577,7 +577,7 @@ Process::run()
if (! _imp->capture_stderr)
{
thread->own_capture_stderr.reset(new SafeOFStream(STDERR_FILENO, false));
- _imp->capture_stderr = thread->own_capture_stderr.get();
+ _imp->capture_stderr = *thread->own_capture_stderr;
}
}