Skip to content
Snippets Groups Projects
Commit 45797c46 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Mark destructor of DebugStream as noexcept(false)

C++11 defaults destructors to noexcept.
Good catch, GCC 6!
parent 0c7bad85
Branches
Tags
1 merge request!35Feature/debugstream destructor exception
......@@ -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--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment