]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning with gcc 4.8. 4923/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Aug 2017 22:29:07 +0000 (16:29 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Aug 2017 22:29:07 +0000 (16:29 -0600)
GCC 4.8 warns about an 'unused argument' for constructors marked '=default'.
This is annoying, but easily worked around.

include/deal.II/hp/fe_collection.h

index 6ed435e74d7207e8f825b8e29dc098744a0451e1..ac93a440f7327f6a52064b5da3d3cb7b0ed054b2 100644 (file)
@@ -87,7 +87,7 @@ namespace hp
     /**
      * Copy constructor.
      */
-    FECollection (const FECollection<dim,spacedim> &fe_collection) = default;
+    FECollection (const FECollection<dim,spacedim> &) = default;
 
     /**
      * Move constructor.

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.