From: Guido Kanschat Date: Thu, 17 Jun 2010 23:45:51 +0000 (+0000) Subject: Change order of object and pointer to it to avoid crash X-Git-Tag: v8.0.0~6043 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6161456dfc89e48f1024d81e32a95e3e9f568762;p=dealii.git Change order of object and pointer to it to avoid crash git-svn-id: https://svn.dealii.org/trunk@21223 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/multigrid/mg_smoother.h b/deal.II/deal.II/include/multigrid/mg_smoother.h index a08409466f..39e496d89f 100644 --- a/deal.II/deal.II/include/multigrid/mg_smoother.h +++ b/deal.II/deal.II/include/multigrid/mg_smoother.h @@ -107,6 +107,14 @@ class MGSmoother : public MGSmootherBase */ void set_debug (const unsigned int level); + private: + /** + * The memory object to be used + * if none is given to the + * constructor. + */ + GrowingVectorMemory my_memory; + protected: /** * Number of smoothing steps on @@ -153,8 +161,6 @@ class MGSmoother : public MGSmootherBase */ SmartPointer, MGSmoother > mem; - private: - GrowingVectorMemory my_memory; };