From ee8c8e76e1b5e4942afd7d5acc70c365b4b88bd4 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 17 Sep 2010 15:54:33 +0200 Subject: [PATCH] Adapt to new boost version --- configure.in | 2 +- src/tmpfstream_impl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 92ccf37..01b23a5 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ AC_INIT(configure.in) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(libi2ncommon, 1.6) +AM_INIT_AUTOMAKE(libi2ncommon, 1.7) LIBI2NCOMMON_LIB_VERSION=2:0:0 diff --git a/src/tmpfstream_impl.hpp b/src/tmpfstream_impl.hpp index dafe706..514369b 100644 --- a/src/tmpfstream_impl.hpp +++ b/src/tmpfstream_impl.hpp @@ -74,7 +74,7 @@ bool tmpfstreamTempl::open(const std::string& tmpnametemplate, if (fd==-1) return false; - boost::iostreams::stream::open(Device(fd,true), + boost::iostreams::stream::open(Device(fd, boost::iostreams::close_handle), buffer_size,pback_size); return tmpfstreamTempl::is_open(); -- 1.7.1