Skip to content

Commit

Permalink
Replace { } with BOOST_DEFAULTED_FUNCTION for C++03 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykrell committed Oct 21, 2021
1 parent 80608fe commit d810699
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/boost/iostreams/filtering_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class filtering_stream_base
typename Chain::char_type,
typename Chain::traits_type
>::stream_type stream_type;
~filtering_stream_base() BOOST_NOEXCEPT = default;

BOOST_DEFAULTED_FUNCTION(~filtering_stream_base() BOOST_NOEXCEPT, { })

filtering_stream_base() : stream_type(0) { this->set_chain(&chain_); }
private:
void notify() { this->rdbuf(chain_.empty() ? 0 : &chain_.front()); }
Expand Down

0 comments on commit d810699

Please sign in to comment.