Skip to content

Commit d810699

Browse files
committed
Replace { } with BOOST_DEFAULTED_FUNCTION for C++03 compatibility.
1 parent 80608fe commit d810699

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/boost/iostreams/filtering_stream.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ class filtering_stream_base
9393
typename Chain::char_type,
9494
typename Chain::traits_type
9595
>::stream_type stream_type;
96-
~filtering_stream_base() BOOST_NOEXCEPT = default;
96+
97+
BOOST_DEFAULTED_FUNCTION(~filtering_stream_base() BOOST_NOEXCEPT, { })
98+
9799
filtering_stream_base() : stream_type(0) { this->set_chain(&chain_); }
98100
private:
99101
void notify() { this->rdbuf(chain_.empty() ? 0 : &chain_.front()); }

0 commit comments

Comments
 (0)