From: bangerth Date: Thu, 31 Aug 2006 19:27:41 +0000 (+0000) Subject: Check that we can actually write X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0faf8a79b9fc5ee6c25d486467a134517449864;p=dealii-svn.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