diff --git a/MaterialLib/MPL/Properties/IdealGasLaw.h b/MaterialLib/MPL/Properties/IdealGasLaw.h
index 5cfe50cb4ca5d0a16b91e0a05dab52844afcc15e..9c0b636a7e86b4ad2256e345aa889f3a616daeac 100644
--- a/MaterialLib/MPL/Properties/IdealGasLaw.h
+++ b/MaterialLib/MPL/Properties/IdealGasLaw.h
@@ -29,10 +29,6 @@ class Component;
  */
 class IdealGasLaw final : public Property
 {
-private:
-    Phase* _phase;
-    Component* _component;
-
 public:
     /// This method assigns a pointer to the material object that is the owner
     /// of this property
@@ -69,6 +65,10 @@ public:
                              Variable const variable2,
                              ParameterLib::SpatialPosition const& pos,
                              double const t) const override;
+
+private:
+    Phase* _phase;
+    Component* _component;
 };
 
 inline std::unique_ptr<IdealGasLaw> createIdealGasLaw(