From 48d24e2a4ce911214a83492fcf5cd89bb4a3bda5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:28:49 -0400 Subject: Use boost::iostreams::file_descriptor_sink This is instead of the custom fdstream.hpp file I was distributing. --- src/stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stream.cc') diff --git a/src/stream.cc b/src/stream.cc index c7fd58fa..e39b74e0 100644 --- a/src/stream.cc +++ b/src/stream.cc @@ -100,7 +100,8 @@ namespace { } else { // parent close(pfd[0]); - *os = new boost::fdostream(pfd[1]); + typedef iostreams::stream fdstream; + *os = new fdstream(pfd[1]); } return pfd[1]; } -- cgit v1.2.3