Skip to content

Commit fd3543a

Browse files
committed
BOOST_DEFAULTED_FUNCTION, BOOST_NOEXCEPT to support older compilers,
based on PR feedback from my other PR (boostorg/iostreams#136)
1 parent df85188 commit fd3543a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/boost/format/alt_sstream.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ namespace boost {
138138
typedef basic_altstringbuf<Ch, Tr, Alloc> stringbuf_t;
139139
public:
140140
typedef Alloc allocator_type;
141-
~basic_oaltstringstream() noexcept override = default;
141+
142+
BOOST_DEFAULTED_FUNCTION(~basic_oaltstringstream() BOOST_NOEXCEPT, { })
143+
142144
basic_oaltstringstream()
143145
: pbase_type(new stringbuf_t), stream_t(pbase_type::member.get())
144146
{ }

0 commit comments

Comments
 (0)