]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
In a forward declaration, use whether a type was actually declared as
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Aug 2011 23:48:13 +0000 (23:48 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Aug 2011 23:48:13 +0000 (23:48 +0000)
a struct or class. This makes Clang happier.

git-svn-id: https://svn.dealii.org/trunk@24127 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/dofs/dof_handler_policy.h

index 292b2522adbb840a97491577641fa4ad39a7ba1d..03aff97cd126f93585f1edd2051267147299d529 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -32,7 +32,7 @@ namespace internal
 {
   namespace DoFHandler
   {
-    class NumberCache;
+    struct NumberCache;
 
                                     /**
                                      * A namespace in which we define
@@ -58,7 +58,7 @@ namespace internal
                                            * Destructor.
                                            */
          virtual ~PolicyBase ();
-         
+
                                           /**
                                            * Distribute degrees of freedom on
                                            * the object given as last argument.

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.