From: wolf Date: Wed, 16 Dec 1998 15:46:34 +0000 (+0000) Subject: Hu? I thought I checked that yesterday, but that doesn't work. Make X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955b81be489d42882170550b70c81cafc39d0ebe;p=dealii-svn.git Hu? I thought I checked that yesterday, but that doesn't work. Make things work again! git-svn-id: https://svn.dealii.org/trunk@717 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/smartpointer.h b/deal.II/base/include/base/smartpointer.h index 4051d83c62..0145930390 100644 --- a/deal.II/base/include/base/smartpointer.h +++ b/deal.II/base/include/base/smartpointer.h @@ -109,7 +109,7 @@ SmartPointer::SmartPointer () : template -SmartPointer::SmartPointer (const T *t) : +SmartPointer::SmartPointer (T *t) : t (t) { if (t) @@ -127,7 +127,7 @@ SmartPointer::~SmartPointer () { template -SmartPointer & operator = (const T *tt) { +SmartPointer & SmartPointer::operator = (T *tt) { if (t) t->unsubscribe(); t = tt;