From: Wolfgang Bangerth Date: Mon, 23 Mar 1998 08:52:55 +0000 (+0000) Subject: Make the Point<> class a bit safer. X-Git-Tag: v8.0.0~23162 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f9f2f16f0995b2b34c2c727d12cf69bcce6c78a;p=dealii.git Make the Point<> class a bit safer. git-svn-id: https://svn.dealii.org/trunk@89 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/point.h b/deal.II/deal.II/include/grid/point.h index dd6d913d90..a1574e0991 100644 --- a/deal.II/deal.II/include/grid/point.h +++ b/deal.II/deal.II/include/grid/point.h @@ -34,14 +34,14 @@ class Point { * Constructor. Initialize all entries * to zero. */ - Point (); + explicit Point (); /** * Constructor for one dimensional points. This * function is only implemented for #dim==1# * since the usage is considered unsafe * for points with #dim!=1#. */ - Point (const double x); + explicit Point (const double x); /** * Constructor for two dimensional points. This