]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Hu? I thought I checked that yesterday, but that doesn't work. Make
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Dec 1998 15:46:34 +0000 (15:46 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Dec 1998 15:46:34 +0000 (15:46 +0000)
things work again!

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

deal.II/base/include/base/smartpointer.h

index 4051d83c620101152024e85a8d8d2a1d8ca320a6..01459303906abe61a1bca4dfe448b290b2edde20 100644 (file)
@@ -109,7 +109,7 @@ SmartPointer<T>::SmartPointer () :
 
 
 template <typename T>
-SmartPointer<T>::SmartPointer (const T *t) :
+SmartPointer<T>::SmartPointer (T *t) :
                t (t)
 {
   if (t)
@@ -127,7 +127,7 @@ SmartPointer<T>::~SmartPointer () {
 
 
 template <typename T>
-SmartPointer<T> & operator = (const T *tt) {
+SmartPointer<T> & SmartPointer<T>::operator = (T *tt) {
   if (t)
     t->unsubscribe();
   t = tt;

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.