From e924bb9e743a73c794c47a93f0b3e1f49eb8967b Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 1 Nov 2012 02:37:36 +0000 Subject: [PATCH] Remove a workaround for another old compiler problem. git-svn-id: https://svn.dealii.org/trunk@27281 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/deal.II/base/tensor_function.h | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/deal.II/include/deal.II/base/tensor_function.h b/deal.II/include/deal.II/base/tensor_function.h index 4b877c2cd5..253a161b09 100644 --- a/deal.II/include/deal.II/base/tensor_function.h +++ b/deal.II/include/deal.II/base/tensor_function.h @@ -63,48 +63,7 @@ class TensorFunction : public FunctionTime, */ typedef Tensor value_type; -#ifdef DEAL_II_LOCAL_TYPEDEF_COMP_WORKAROUND - /** - * Define a typedef for the - * return value of the gradient - * function. - * - * The construct here is only - * used in case we hit a certain - * bug in Sun's Forte - * compiler. See the respective - * macro in the aclocal.m4 file - * for a full description of the - * bug, or the documentation to - * the quadrature class. - * - * For better readability we - * later typedef this so-created - * type to one in the enclosing - * class. - */ - template - struct GradientTypeHelper - { - typedef Tensor type; - }; - - /** - * Typedef the kludge declared - * above to a type in the class - * in which we would like to use - * it. - * - * This typedef is only used if - * the respective bug in the - * compiler is encountered, - * otherwise the proper typedef - * below is used. - */ - typedef typename GradientTypeHelper::type gradient_type; -#else typedef Tensor gradient_type; -#endif /** * Constructor. May take an -- 2.39.5