From: Wolfgang Bangerth Date: Wed, 27 Sep 2017 19:40:05 +0000 (-0600) Subject: Simplify some con/destructors by using =default. X-Git-Tag: v9.0.0-rc1~1022^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5165%2Fhead;p=dealii.git Simplify some con/destructors by using =default. --- diff --git a/include/deal.II/base/quadrature_point_data.h b/include/deal.II/base/quadrature_point_data.h index 3ba484cec2..323b61fe4d 100644 --- a/include/deal.II/base/quadrature_point_data.h +++ b/include/deal.II/base/quadrature_point_data.h @@ -58,12 +58,12 @@ public: /** * Default constructor. */ - CellDataStorage(); + CellDataStorage() = default; /** * Default destructor. */ - ~CellDataStorage(); + ~CellDataStorage() = default; /** * Initialize data on the @p cell to store @p number_of_data_points_per_cell of objects of type @p T . @@ -174,12 +174,12 @@ public: /** * Default constructor. */ - TransferableQuadraturePointData(); + TransferableQuadraturePointData() = default; /** * Default virtual destructor. */ - virtual ~TransferableQuadraturePointData(); + virtual ~TransferableQuadraturePointData() = default; /** * Return the total number of values which will be @@ -466,35 +466,10 @@ namespace parallel // ------------------- inline and template functions ---------------- -//-------------------------------------------------------------------- -// TransferableQuadraturePointData -//-------------------------------------------------------------------- -inline TransferableQuadraturePointData::TransferableQuadraturePointData() -{} - -inline TransferableQuadraturePointData::~TransferableQuadraturePointData() -{} - //-------------------------------------------------------------------- // CellDataStorage //-------------------------------------------------------------------- -template -CellDataStorage:: -CellDataStorage() - : - Subscriptor() -{} - - - -template -CellDataStorage:: -~CellDataStorage() -{} - - - template template void CellDataStorage::initialize(const CellIteratorType &cell,