From: Wolfgang Bangerth Date: Thu, 1 Nov 2012 02:36:22 +0000 (+0000) Subject: Remove a workaround for another old compiler problem. X-Git-Tag: v8.0.0~1900 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65864c959e149f1350397a869553f418ff03aedc;p=dealii.git Remove a workaround for another old compiler problem. git-svn-id: https://svn.dealii.org/trunk@27280 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/function.h b/deal.II/include/deal.II/base/function.h index 40b3dbba5a..352fdd1cac 100644 --- a/deal.II/include/deal.II/base/function.h +++ b/deal.II/include/deal.II/base/function.h @@ -148,27 +148,8 @@ class Function : public FunctionTime, * the destructor is implemented * (despite it being pure * virtual). - * - * Note: Compaq's cxx compiler - * does not allow defining a - * function that was declared - * pure. It simply refuses to - * instantiate the function when - * it later sees it, but also - * does not generate a respective - * function itself, which then - * leads to linker errors - * claiming that the destructor - * of this class is missing. We - * therefore only make the - * function abstract if the - * compiler can handle this. - */ - virtual ~Function () -#ifndef DEAL_II_IMPLEMENTED_PURE_FUNCTION_BUG - = 0 -#endif - ; + */ + virtual ~Function () = 0; /** * Assignment operator. This is diff --git a/deal.II/include/deal.II/lac/sparse_decomposition.h b/deal.II/include/deal.II/lac/sparse_decomposition.h index 8c2aaa3bbe..dbc44fb04e 100644 --- a/deal.II/include/deal.II/lac/sparse_decomposition.h +++ b/deal.II/include/deal.II/lac/sparse_decomposition.h @@ -163,11 +163,7 @@ class SparseLUDecomposition : protected SparseMatrix, * directly, but only its derived * classes. */ - virtual ~SparseLUDecomposition () -#ifndef DEAL_II_IMPLEMENTED_PURE_FUNCTION_BUG - = 0 -#endif - ; + virtual ~SparseLUDecomposition () = 0; /** * Deletes all member