]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a workaround for another old compiler problem.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 1 Nov 2012 02:36:22 +0000 (02:36 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 1 Nov 2012 02:36:22 +0000 (02:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@27280 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/function.h
deal.II/include/deal.II/lac/sparse_decomposition.h

index 40b3dbba5a4151136dbd94c65f584d7878a67545..352fdd1cac8582c274c97dc1f86cd9c4a3bad4c6 100644 (file)
@@ -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
index 8c2aaa3bbe67261a739a70b0b55473e751f403ea..dbc44fb04e7e60778518d134f4a156ad605f35a9 100644 (file)
@@ -163,11 +163,7 @@ class SparseLUDecomposition : protected SparseMatrix<number>,
                                       * directly, but only its derived
                                       * classes.
                                       */
-    virtual ~SparseLUDecomposition ()
-#ifndef DEAL_II_IMPLEMENTED_PURE_FUNCTION_BUG
-      = 0
-#endif
-    ;
+    virtual ~SparseLUDecomposition () = 0;
 
                                      /**
                                       * Deletes all member

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.