From: Wolfgang Bangerth Date: Thu, 31 Aug 2006 19:27:41 +0000 (+0000) Subject: Check that we can actually write X-Git-Tag: v8.0.0~11188 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e412bb6ff8937e309a5867ca9c9a94eae513d33;p=dealii.git Check that we can actually write git-svn-id: https://svn.dealii.org/trunk@13784 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 265f02374d..95c44c8862 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -3412,6 +3412,8 @@ write_deal_II_intermediate (const std::vector > &patches, const Deal_II_IntermediateFlags &/*flags*/, std::ostream &out) { + AssertThrow (out, ExcIO()); + // first write tokens indicating the // template parameters. we need this in // here because we may want to read in data