From 4f19f076604171163c86ac7ca7df393fad80a55c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 27 Sep 2017 13:40:05 -0600 Subject: [PATCH] Simplify some con/destructors by using =default. --- include/deal.II/base/quadrature_point_data.h | 33 +++----------------- 1 file changed, 4 insertions(+), 29 deletions(-) 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, -- 2.39.5