diff --git a/MantidPlot/src/Fit.h b/MantidPlot/src/Fit.h
index 2204852328c15b20b55d0f61d9d5dfc756d6f3e5..bd6a6bf2efdaf03b5d87d324be1f1c3257585251 100644
--- a/MantidPlot/src/Fit.h
+++ b/MantidPlot/src/Fit.h
@@ -48,7 +48,8 @@ public:
   using fit_function_simplex = double (*)(const gsl_vector *, void *);
   using fit_function = int (*)(const gsl_vector *, void *, gsl_vector *);
   using fit_function_df = int (*)(const gsl_vector *, void *, gsl_matrix *);
-  using fit_function_fdf = int (*)(const gsl_vector *, void *, gsl_vector *, gsl_matrix *);
+  using fit_function_fdf = int (*)(const gsl_vector *, void *, gsl_vector *,
+                                   gsl_matrix *);
 
   enum Algorithm {
     ScaledLevenbergMarquardt,
diff --git a/MantidPlot/src/WindowFactory.h b/MantidPlot/src/WindowFactory.h
index 6d7564a13fc37b6bc99efc8f71b56c531853ea15..46e7c447554a7a40061a0f96ef22cea8834e1ff7 100644
--- a/MantidPlot/src/WindowFactory.h
+++ b/MantidPlot/src/WindowFactory.h
@@ -101,7 +101,8 @@ public:
 
 class WindowFactoryImpl final {
 private:
-  using AbstractFactory = AbstractProjectInstantiator<MantidQt::API::IProjectSerialisable>;
+  using AbstractFactory =
+      AbstractProjectInstantiator<MantidQt::API::IProjectSerialisable>;
 
 public:
   WindowFactoryImpl();
@@ -172,7 +173,8 @@ private:
   }
 
   /// A typedef for the map of registered classes
-  using FactoryMap = Mantid::Kernel::CaseInsensitiveMap<std::unique_ptr<AbstractFactory> >;
+  using FactoryMap =
+      Mantid::Kernel::CaseInsensitiveMap<std::unique_ptr<AbstractFactory>>;
   /// The map holding the registered class names and their instantiators
   FactoryMap _map;
 };