From 86db324063c24c11a80defd59ebb374b8a52b5d6 Mon Sep 17 00:00:00 2001 From: kanschat Date: Thu, 17 Jun 2010 23:45:51 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/include/multigrid/mg_smoother.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; }; -- 2.39.5