From: wolf Date: Tue, 21 Jun 2005 18:45:05 +0000 (+0000) Subject: struct U has virtual functions but nonvirtual destructor. calm the compiler X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788a1e7539b869f2646f229e2e17a5512e32d4eb;p=dealii-svn.git struct U has virtual functions but nonvirtual destructor. calm the compiler down by providing one. git-svn-id: https://svn.dealii.org/trunk@10914 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/threads.pl b/tests/base/threads.pl index a4cf583358..20d9699f96 100644 --- a/tests/base/threads.pl +++ b/tests/base/threads.pl @@ -2,7 +2,7 @@ # $Id$ # Version: $Name$ # -# Copyright (C) 2003, 2004 by the deal.II authors +# Copyright (C) 2003, 2004, 2005 by the deal.II authors # # This file is subject to QPL and may not be distributed # without copyright and license information. Please refer @@ -33,6 +33,7 @@ print "#include \n"; print "#include \n"; print "template struct X {};\n"; print "struct U {\n"; +print " virtual ~U () {}\n"; sub print_args {