Skip to content

Commit

Permalink
BOOST_DEFAULTED_FUNCTION, BOOST_NOEXCEPT to support older compilers,
Browse files Browse the repository at this point in the history
based on PR feedback from my other PR (boostorg/iostreams#136)
  • Loading branch information
jaykrell committed Oct 21, 2021
1 parent df85188 commit fd3543a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/boost/format/alt_sstream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ namespace boost {
typedef basic_altstringbuf<Ch, Tr, Alloc> stringbuf_t;
public:
typedef Alloc allocator_type;
~basic_oaltstringstream() noexcept override = default;

BOOST_DEFAULTED_FUNCTION(~basic_oaltstringstream() BOOST_NOEXCEPT, { })

basic_oaltstringstream()
: pbase_type(new stringbuf_t), stream_t(pbase_type::member.get())
{ }
Expand Down

0 comments on commit fd3543a

Please sign in to comment.