]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
While we're at it: clean-ups.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Feb 2000 14:37:47 +0000 (14:37 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Feb 2000 14:37:47 +0000 (14:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@2329 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e684b6354ce94e08f28df28e65b5d8c83c692bef..e7bd6cbbf3a94b2255a85fc7f9406b9fe4adf2a3 100644 (file)
@@ -144,7 +144,8 @@ SmartPointer<T>::SmartPointer (const SmartPointer<T> &tt) :
 
 
 template <typename T>
-SmartPointer<T>::~SmartPointer () {
+SmartPointer<T>::~SmartPointer ()
+{
   if (t)
     t->unsubscribe();
 };
@@ -168,6 +169,7 @@ SmartPointer<T> & SmartPointer<T>::operator = (T *tt)
 };
 
 
+
 template <typename T>
 SmartPointer<T> & SmartPointer<T>::operator = (const SmartPointer<T>& tt)
 {
@@ -186,9 +188,11 @@ SmartPointer<T> & SmartPointer<T>::operator = (const SmartPointer<T>& tt)
 };
 
 
+
 template <typename T>
 inline
-SmartPointer<T>::operator T* () const {
+SmartPointer<T>::operator T* () const
+{
   return t;
 };
 
@@ -196,7 +200,8 @@ SmartPointer<T>::operator T* () const {
 
 template <typename T>
 inline
-T & SmartPointer<T>::operator * () const {
+T & SmartPointer<T>::operator * () const
+{
   return *t;
 };
 
@@ -204,7 +209,8 @@ T & SmartPointer<T>::operator * () const {
 
 template <typename T>
 inline
-T * SmartPointer<T>::operator -> () const {
+T * SmartPointer<T>::operator -> () const
+{
   return t;
 };
 

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.