From 955b81be489d42882170550b70c81cafc39d0ebe Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 16 Dec 1998 15:46:34 +0000 Subject: [PATCH] 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 --- deal.II/base/include/base/smartpointer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5