]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid semicolons. 2632/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 May 2016 22:28:52 +0000 (17:28 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 May 2016 22:28:52 +0000 (17:28 -0500)
While *declarations* require semicolons, definitions do not. In fact, at namespace
scope (like here), they are strictly speaking wrong.

include/deal.II/base/quadrature_point_data.h

index 7f2f14c79b3fb43b02335b0ab0578df78c7eb642..033bf734e8b0b1db9b6a55925000c41aa3f67170 100644 (file)
@@ -480,10 +480,10 @@ namespace parallel
 //                         TransferableQuadraturePointData
 //--------------------------------------------------------------------
 inline TransferableQuadraturePointData::TransferableQuadraturePointData()
-{};
+{}
 
 inline TransferableQuadraturePointData::~TransferableQuadraturePointData()
-{};
+{}
 
 //--------------------------------------------------------------------
 //                         CellDataStorage
@@ -492,14 +492,14 @@ inline TransferableQuadraturePointData::~TransferableQuadraturePointData()
 template <typename CellIteratorType, typename DataType>
 CellDataStorage<CellIteratorType,DataType>::
 CellDataStorage()
-{};
+{}
 
 
 
 template <typename CellIteratorType, typename DataType>
 CellDataStorage<CellIteratorType,DataType>::
 ~CellDataStorage()
-{};
+{}
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.