From: kanschat Date: Sat, 9 Jul 2011 17:03:06 +0000 (+0000) Subject: get_data cannot return null pointer X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac3a86c48e2069d5133245cecbb7a5dc090c4bd;p=dealii-svn.git get_data cannot return null pointer git-svn-id: https://svn.dealii.org/trunk@23937 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/fe/fe_poly_face.templates.h b/deal.II/include/deal.II/fe/fe_poly_face.templates.h index 9d13584065..aad6592d83 100644 --- a/deal.II/include/deal.II/fe/fe_poly_face.templates.h +++ b/deal.II/include/deal.II/fe/fe_poly_face.templates.h @@ -90,7 +90,8 @@ FE_PolyFace::get_data ( const Mapping&, const Quadrature&) const { - return 0; + InternalData* data = new InternalData; + return data; }