From: Wolfgang Bangerth Date: Mon, 21 Aug 2017 22:29:07 +0000 (-0600) Subject: Avoid a warning with gcc 4.8. X-Git-Tag: v9.0.0-rc1~1195^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374c3765ef81716ba5d318387559bc9f671aaedd;p=dealii.git Avoid a warning with gcc 4.8. GCC 4.8 warns about an 'unused argument' for constructors marked '=default'. This is annoying, but easily worked around. --- diff --git a/include/deal.II/hp/fe_collection.h b/include/deal.II/hp/fe_collection.h index 6ed435e74d..ac93a440f7 100644 --- a/include/deal.II/hp/fe_collection.h +++ b/include/deal.II/hp/fe_collection.h @@ -87,7 +87,7 @@ namespace hp /** * Copy constructor. */ - FECollection (const FECollection &fe_collection) = default; + FECollection (const FECollection &) = default; /** * Move constructor.