From 7947f26ca14bdc8b4d2f3dfbbfc72323a5c0e04c Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Thu, 26 May 2005 08:28:18 +0000 Subject: [PATCH] removed closable_tag [SVN r29204] --- include/boost/iostreams/chain.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/iostreams/chain.hpp b/include/boost/iostreams/chain.hpp index de9845c..cb8440c 100755 --- a/include/boost/iostreams/chain.hpp +++ b/include/boost/iostreams/chain.hpp @@ -127,8 +127,7 @@ public: typedef Mode mode; struct category : Mode, - device_tag, - closable_tag + device_tag { }; typedef chain_client client_type; friend class chain_client; @@ -223,6 +222,7 @@ public: bool is_complete() const; bool auto_close() const; void set_auto_close(bool close); + bool sync() { return front().BOOST_IOSTREAMS_PUBSYNC() != -1; } bool strict_sync(); private: template