Commit 45797c46 authored by Christoph Grüninger's avatar Christoph Grüninger

Mark destructor of DebugStream as noexcept(false)

C++11 defaults destructors to noexcept.
Good catch, GCC 6!
parent 0c7bad85
......@@ -237,7 +237,8 @@ namespace Dune {
thrown. Otherwise the child streams would certainly break on the
next output
*/
~DebugStream() {
~DebugStream() noexcept(false)
{
// untie
if (_tied)
tiedstate->_tied_streams--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment