From 5b5b9d6bd35f99f32477c777bf18a2fb5091c1bf Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 22 May 2020 16:28:37 -0400 Subject: [PATCH] remove gcc-4.7 workaround --- include/deal.II/lac/block_linear_operator.h | 35 --------------------- 1 file changed, 35 deletions(-) diff --git a/include/deal.II/lac/block_linear_operator.h b/include/deal.II/lac/block_linear_operator.h index b9b4fa97f9..12efd400a4 100644 --- a/include/deal.II/lac/block_linear_operator.h +++ b/include/deal.II/lac/block_linear_operator.h @@ -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 Domain = Range, - typename BlockPayload = - internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>, - typename BlockMatrixType> -BlockLinearOperator -block_diagonal_operator(const BlockMatrixType &block_matrix); - -template , - typename Domain = Range, - typename BlockPayload = - internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>> -LinearOperator -block_forward_substitution( - const BlockLinearOperator &, - const BlockLinearOperator &); - -template , - typename Domain = Range, - typename BlockPayload = - internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>> -LinearOperator -block_back_substitution( - const BlockLinearOperator &, - const BlockLinearOperator &); - -// end of workaround - /** -- 2.39.5