diff --git a/Sample/Scattering/DecoratedFF.h b/Sample/Scattering/DecoratedFF.h
index a0df713a0bad710978d9b8014c27d8df82b33b12..132bd60faf409a4550e9116e9e7ef2b5156eab7d 100644
--- a/Sample/Scattering/DecoratedFF.h
+++ b/Sample/Scattering/DecoratedFF.h
@@ -72,7 +72,6 @@ protected:
     std::unique_ptr<const Material> m_material;
     std::unique_ptr<const Material> m_ambient_material;
     std::unique_ptr<const R3> m_position;
-private:
     std::unique_ptr<const RotMatrix> m_rotMatrix;
 };
 
diff --git a/Sample/Scattering/FormFactorDecoratorRotation.cpp b/Sample/Scattering/FormFactorDecoratorRotation.cpp
index 005b42b40fc8a89580a72c78eaf9388e3fa486e4..a93b6697641a61254f634ee75f0248d32f3ccb3f 100644
--- a/Sample/Scattering/FormFactorDecoratorRotation.cpp
+++ b/Sample/Scattering/FormFactorDecoratorRotation.cpp
@@ -19,7 +19,7 @@
 
 FormFactorDecoratorRotation::FormFactorDecoratorRotation(const IDecoratableBorn& ff,
                                                          const RotMatrix& rotMatrix)
-    : DecoratedFF(ff), m_rotMatrix(std::make_unique<RotMatrix>(rotMatrix))
+    : DecoratedFF(ff)
 {
     setRotMatrix(rotMatrix);
 }
diff --git a/Sample/Scattering/FormFactorDecoratorRotation.h b/Sample/Scattering/FormFactorDecoratorRotation.h
index a18804dfbca0e76401b301cf697c1bdc73b87dfb..6f52f90b57a681f7ae61c6f638325798e04a30e8 100644
--- a/Sample/Scattering/FormFactorDecoratorRotation.h
+++ b/Sample/Scattering/FormFactorDecoratorRotation.h
@@ -44,9 +44,6 @@ public:
 #ifndef SWIG
     Eigen::Matrix2cd thePolFF(const WavevectorInfo& wavevectors) const override;
 #endif
-
-private:
-    std::unique_ptr<RotMatrix> m_rotMatrix;
 };
 
 #endif // BORNAGAIN_SAMPLE_SCATTERING_FORMFACTORDECORATORROTATION_H