From: Timo Heister Date: Tue, 6 Nov 2012 00:08:45 +0000 (+0000) Subject: assert valid enum state X-Git-Tag: v8.0.0~1855 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ccb22fca0c11d039cf27037040f09955cbc2080;p=dealii.git assert valid enum state git-svn-id: https://svn.dealii.org/trunk@27420 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index 7764bc00bc..de3414ff95 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -1183,6 +1183,8 @@ void GridOut::write_xfig ( case GridOutFlags::XFig::level_subdomain_id: out << cell->level_subdomain_id() + 32; break; + default: + Assert(false, ExcInternalError()); } // Depth, unused, fill