]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove gcc-4.7 workaround
authorTimo Heister <timo.heister@gmail.com>
Fri, 22 May 2020 20:28:37 +0000 (16:28 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 22 May 2020 20:28:37 +0000 (16:28 -0400)
include/deal.II/lac/block_linear_operator.h

index b9b4fa97f99bd60cc76904a19d46e40b5d28abd4..12efd400a48303b05298c2b66a9e4011c2a53c02 100644 (file)
@@ -92,41 +92,6 @@ block_diagonal_operator(
                        typename Domain::BlockType,
                        typename BlockPayload::BlockType> &op);
 
-// This is a workaround for a bug in <=gcc-4.7 that does not like partial
-// template default values in combination with local lambda expressions [1]
-//
-// [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624
-//
-// Forward declare functions with partial template defaults:
-
-template <typename Range  = BlockVector<double>,
-          typename Domain = Range,
-          typename BlockPayload =
-            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>,
-          typename BlockMatrixType>
-BlockLinearOperator<Range, Domain, BlockPayload>
-block_diagonal_operator(const BlockMatrixType &block_matrix);
-
-template <typename Range  = BlockVector<double>,
-          typename Domain = Range,
-          typename BlockPayload =
-            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>>
-LinearOperator<Domain, Range, typename BlockPayload::BlockType>
-block_forward_substitution(
-  const BlockLinearOperator<Range, Domain, BlockPayload> &,
-  const BlockLinearOperator<Domain, Range, BlockPayload> &);
-
-template <typename Range  = BlockVector<double>,
-          typename Domain = Range,
-          typename BlockPayload =
-            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>>
-LinearOperator<Domain, Range, typename BlockPayload::BlockType>
-block_back_substitution(
-  const BlockLinearOperator<Range, Domain, BlockPayload> &,
-  const BlockLinearOperator<Domain, Range, BlockPayload> &);
-
-// end of workaround
-
 
 
 /**

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.