]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Properly qualify names of classes that we want to make a friend.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Dec 2006 18:59:19 +0000 (18:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Dec 2006 18:59:19 +0000 (18:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@14285 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/symmetric_tensor.h

index 3ac46b78c51245c92d058287e2620f45eb7cfc70..be480252ff31f9bfddf3e462cca252ce35a04c9d 100644 (file)
@@ -125,7 +125,7 @@ namespace internal
     template <int rank1, int rank2, int dim>
     struct double_contraction_result 
     {
-       typedef SymmetricTensor<rank1+rank2-4,dim> type;
+       typedef ::dealii::SymmetricTensor<rank1+rank2-4,dim> type;
     };
     
 
@@ -248,7 +248,7 @@ namespace internal
     template <int rank, int dim>
     struct AccessorTypes<rank, dim,true>
     {
-        typedef const SymmetricTensor<rank,dim> tensor_type;
+        typedef const ::dealii::SymmetricTensor<rank,dim> tensor_type;
 
         typedef double reference;
     };
@@ -265,7 +265,7 @@ namespace internal
     template <int rank, int dim>
     struct AccessorTypes<rank,dim,false>
     {
-        typedef SymmetricTensor<rank,dim> tensor_type;
+        typedef ::dealii::SymmetricTensor<rank,dim> tensor_type;
 
         typedef double &reference;
     };
@@ -399,7 +399,7 @@ namespace internal
         template <int,int,bool,int>
         friend class Accessor;
 #  ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
-        friend class SymmetricTensor<rank,dim>;
+        friend class ::dealii::SymmetricTensor<rank,dim>;
         friend class Accessor<rank,dim,constness,P+1>;
 #  endif
 #else
@@ -516,10 +516,10 @@ namespace internal
 #ifndef DEAL_II_NAMESP_TEMPL_FRIEND_BUG
         template <int,int> friend class SymmetricTensor;
         template <int,int,bool,int>
-        friend class Accessor;
+        friend class SymmetricTensorAccessors::Accessor;
 #  ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
-        friend class SymmetricTensor<rank,dim>;
-        friend class Accessor<rank,dim,constness,2>;
+        friend class ::dealii::SymmetricTensor<rank,dim>;
+        friend class SymmetricTensorAccessors::Accessor<rank,dim,constness,2>;
 #  endif
 #else
         friend class SymmetricTensor<rank,dim>;

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.