diff --git a/Framework/API/inc/MantidAPI/IFileLoader.h b/Framework/API/inc/MantidAPI/IFileLoader.h
index 1f5c0c2fb513b6efdd6a2585bdb68edf16ec8c03..387d5561f65993131e159de229ea0170dff53a31 100644
--- a/Framework/API/inc/MantidAPI/IFileLoader.h
+++ b/Framework/API/inc/MantidAPI/IFileLoader.h
@@ -24,6 +24,7 @@ public:
   /// Returns a value indicating whether or not loader wants to load multiple
   /// files into a single workspace
   virtual bool loadMutipleAsOne() { return false; }
+  virtual void execLoader() {}
 };
 
 } // namespace API
diff --git a/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h b/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
index 07154d6cb715dd685dc6b2343cba22a98de12d59..f77ed4b4f2a20d596d7f59e5f31b9cf2d7a9bdb4 100644
--- a/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
+++ b/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
@@ -7,8 +7,8 @@
 #pragma once
 
 #include "MantidAPI/IFileLoader.h"
-#include "MantidKernel/System.h"
 #include "MantidKernel/NexusHDF5Descriptor.h"
+#include "MantidKernel/System.h"
 
 namespace Mantid::DataHandling {
 
@@ -16,14 +16,12 @@ class DLLExport NexusFileLoader
     : public API::IFileLoader<Mantid::Kernel::NexusHDF5Descriptor> {
 public:
   void exec() override;
-  virtual void execLoader();
   boost::shared_ptr<Algorithm> createChildAlgorithm(
       const std::string &name, const double startProgress = -1.,
       const double endProgress = -1., const bool enableLogging = true,
       const int &version = -1) override;
   virtual void
   setFileInfo(std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo);
-
 private:
   std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> m_fileInfo;
 };
diff --git a/Framework/DataHandling/src/NexusFileLoader.cpp b/Framework/DataHandling/src/NexusFileLoader.cpp
index 5e651af88b1454b993fd306c22ace027199fd79c..7680174859c5a69cc62cf6325dc987328a6dd3fa 100644
--- a/Framework/DataHandling/src/NexusFileLoader.cpp
+++ b/Framework/DataHandling/src/NexusFileLoader.cpp
@@ -8,7 +8,6 @@
 
 namespace Mantid::DataHandling {
 void NexusFileLoader::exec() { execLoader(); }
-void NexusFileLoader::execLoader() {}
 boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm(
     const std::string &name, const double startProgress,
     const double endProgress, const bool enableLogging, const int &version) {
@@ -23,9 +22,9 @@ boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm(
     nfl->setFileInfo(m_fileInfo);
   }
   return child;
-  }
-  void NexusFileLoader::setFileInfo(
-      std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo) {
-    m_fileInfo = std::move(fileInfo);
-  }
 }
+void NexusFileLoader::setFileInfo(
+    std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo) {
+  m_fileInfo = std::move(fileInfo);
+}
+} // namespace Mantid::DataHandling