From: Guido Kanschat Date: Sat, 9 Jul 2011 17:03:06 +0000 (+0000) Subject: get_data cannot return null pointer X-Git-Tag: v8.0.0~3828 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d874f18d91d936baf480aeebfccf26c92b6eb5;p=dealii.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; }