From 89d79de0e51aa66fc235ee07858c7ff6bcc47402 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 1 Nov 2012 02:36:22 +0000 Subject: [PATCH] Remove a workaround for another old compiler problem. git-svn-id: https://svn.dealii.org/trunk@27280 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/function.h | 23 ++----------------- .../deal.II/lac/sparse_decomposition.h | 6 +---- 2 files changed, 3 insertions(+), 26 deletions(-) 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 -- 2.39.5