From: Daniel Arndt Date: Sat, 30 Nov 2019 18:55:22 +0000 (-0500) Subject: Fix compiler warnings X-Git-Tag: v9.2.0-rc1~836^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8661%2Fhead;p=dealii.git Fix compiler warnings --- diff --git a/include/deal.II/fe/fe_interface_values.h b/include/deal.II/fe/fe_interface_values.h index 9e611039cc..babb2ebf5c 100644 --- a/include/deal.II/fe/fe_interface_values.h +++ b/include/deal.II/fe/fe_interface_values.h @@ -145,7 +145,7 @@ public: /** * Return the update flags set. */ - const UpdateFlags + UpdateFlags get_update_flags() const; /** @@ -480,7 +480,7 @@ FEInterfaceValues::reinit( for (auto &x : tempmap) { interface_dof_indices[idx] = x.first; - dofmap[idx] = {x.second.first, x.second.second}; + dofmap[idx] = {{x.second.first, x.second.second}}; ++idx; } } @@ -506,7 +506,7 @@ FEInterfaceValues::reinit(const CellIteratorType &cell, for (unsigned int i = 0; i < interface_dof_indices.size(); ++i) { - dofmap[i] = {i, numbers::invalid_unsigned_int}; + dofmap[i] = {{i, numbers::invalid_unsigned_int}}; } } @@ -555,7 +555,7 @@ FEInterfaceValues::get_quadrature_points() const template -const UpdateFlags +UpdateFlags FEInterfaceValues::get_update_flags() const { return internal_fe_face_values.get_update_flags();