diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 04:28:49 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 04:28:49 -0400 |
commit | 48d24e2a4ce911214a83492fcf5cd89bb4a3bda5 (patch) | |
tree | 2aec8a08888999d085ad08d221ef4f17d8ed3372 /src/stream.cc | |
parent | f35bc939c96c3a3bf09c5881d638b5ba60449c03 (diff) | |
download | fork-ledger-48d24e2a4ce911214a83492fcf5cd89bb4a3bda5.tar.gz fork-ledger-48d24e2a4ce911214a83492fcf5cd89bb4a3bda5.tar.bz2 fork-ledger-48d24e2a4ce911214a83492fcf5cd89bb4a3bda5.zip |
Use boost::iostreams::file_descriptor_sink
This is instead of the custom fdstream.hpp file I was distributing.
Diffstat (limited to 'src/stream.cc')
-rw-r--r-- | src/stream.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<iostreams::file_descriptor_sink> fdstream; + *os = new fdstream(pfd[1]); } return pfd[1]; } |