From 048e254b274c5db37a65f306daa0f727a958894e Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 16 Mar 1999 19:17:01 +0000 Subject: [PATCH] Use the more obvious C++-style cast to eliminate one of the many warnings with -Wold-style-cast git-svn-id: https://svn.dealii.org/trunk@1015 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/smartpointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/base/include/base/smartpointer.h b/deal.II/base/include/base/smartpointer.h index 62cb6171f6..d89f7cf9c6 100644 --- a/deal.II/base/include/base/smartpointer.h +++ b/deal.II/base/include/base/smartpointer.h @@ -148,7 +148,7 @@ template SmartPointer & SmartPointer::operator = (const SmartPointer& tt) { if (t) t->unsubscribe(); - t = (T*) tt; + t = static_cast(tt); if (tt) tt->subscribe(); return *this; -- 2.39.5