From daca5005ce850cf5cddcf71b9f8ce3a06d5792de Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt <Ansgar.Burchardt@tu-dresden.de> Date: Wed, 3 Feb 2016 18:14:09 +0100 Subject: [PATCH] Use std::is_same instead of Dune::is_same. --- dune/fufem/functiontools/boundarydofs.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dune/fufem/functiontools/boundarydofs.hh b/dune/fufem/functiontools/boundarydofs.hh index 65dcfb6d..57dd6b94 100644 --- a/dune/fufem/functiontools/boundarydofs.hh +++ b/dune/fufem/functiontools/boundarydofs.hh @@ -3,6 +3,8 @@ #ifndef DUNE_FUFEM_FUNCTIONTOOLS_BOUNDARYDOFS_HH #define DUNE_FUFEM_FUNCTIONTOOLS_BOUNDARYDOFS_HH +#include <type_traits> + #include <dune/common/bitsetvector.hh> #include <dune/common/version.hh> @@ -20,7 +22,7 @@ void constructBoundaryDofs(const BoundaryPatch<GridView>& boundaryPatch, Dune::BitSetVector<blocksize>& boundaryDofs) { // Check consistency of the input - static_assert((Dune::is_same<GridView, typename Basis::GridView>::value), + static_assert((std::is_same<GridView, typename Basis::GridView>::value), "BoundaryPatch and global basis must be for the same grid view!"); // //////////////////////////////////////////////////////// -- GitLab