diff --git a/Framework/DataHandling/src/LoadRawHelper.cpp b/Framework/DataHandling/src/LoadRawHelper.cpp
index 955a8de61f3b24e2588332a11f76014d014e48a8..f7aa776a37234d7ffd29b02e6d187153391bc201 100644
--- a/Framework/DataHandling/src/LoadRawHelper.cpp
+++ b/Framework/DataHandling/src/LoadRawHelper.cpp
@@ -142,7 +142,7 @@ int LoadRawHelper::getNumberofTimeRegimes() {
  */
 ISISRAW2 &LoadRawHelper::isisRaw() const {
   if (!m_isis_raw) {
-    m_isis_raw.reset(new ISISRAW2);
+    m_isis_raw = Kernel::make_unique<ISISRAW2>();
   }
 
   return *m_isis_raw;