From aa54005818b860708da4aa8bda3b8bb0d7514c4a Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 5 Oct 2016 12:40:05 +0200
Subject: [PATCH] [PL] Move _integration_order in protected section.

Also fix the order in the initializer list.
---
 ProcessLib/Process.cpp | 2 +-
 ProcessLib/Process.h   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/Process.cpp b/ProcessLib/Process.cpp
index 2a9f05f6878..27e20af297e 100644
--- a/ProcessLib/Process.cpp
+++ b/ProcessLib/Process.cpp
@@ -30,8 +30,8 @@ Process::Process(
       _secondary_variables(std::move(secondary_variables)),
       _named_function_caller(std::move(named_function_caller)),
       _global_assembler(std::move(jacobian_assembler)),
-      _process_variables(std::move(process_variables)),
       _integration_order(integration_order),
+      _process_variables(std::move(process_variables)),
       _boundary_conditions(parameters)
 {
 }
diff --git a/ProcessLib/Process.h b/ProcessLib/Process.h
index d2c1da29d56..4615d204d36 100644
--- a/ProcessLib/Process.h
+++ b/ProcessLib/Process.h
@@ -181,8 +181,9 @@ protected:
 
     VectorMatrixAssembler _global_assembler;
 
-private:
     unsigned const _integration_order;
+
+private:
     GlobalSparsityPattern _sparsity_pattern;
 
     /// Variables used by this process.
-- 
GitLab