From 8d1cab78105397e08b39994480a138c54391aa5e Mon Sep 17 00:00:00 2001
From: Dimitar Tasev <dimitar.tasev@stfc.ac.uk>
Date: Fri, 23 Jun 2017 12:01:19 +0100
Subject: [PATCH] Removed boost type traits from FileLoaderRegistry, Re #19919

---
 Framework/API/inc/MantidAPI/FileLoaderRegistry.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Framework/API/inc/MantidAPI/FileLoaderRegistry.h b/Framework/API/inc/MantidAPI/FileLoaderRegistry.h
index c53d1efb878..54a3ba96130 100644
--- a/Framework/API/inc/MantidAPI/FileLoaderRegistry.h
+++ b/Framework/API/inc/MantidAPI/FileLoaderRegistry.h
@@ -6,7 +6,7 @@
 #include "MantidKernel/SingletonHolder.h"
 
 #ifndef Q_MOC_RUN
-#include <boost/type_traits/is_base_of.hpp>
+#include <type_traits>
 #endif
 
 #include <map>
@@ -106,7 +106,7 @@ private:
     static void check(LoaderFormat format) {
       switch (format) {
       case Nexus:
-        if (!boost::is_base_of<IFileLoader<Kernel::NexusDescriptor>,
+        if (!std::is_base_of<IFileLoader<Kernel::NexusDescriptor>,
                                T>::value) {
           throw std::runtime_error(
               std::string("FileLoaderRegistryImpl::subscribe - Class '") +
@@ -116,7 +116,7 @@ private:
         }
         break;
       case Generic:
-        if (!boost::is_base_of<IFileLoader<Kernel::FileDescriptor>, T>::value) {
+        if (!std::is_base_of<IFileLoader<Kernel::FileDescriptor>, T>::value) {
           throw std::runtime_error(
               std::string("FileLoaderRegistryImpl::subscribe - Class '") +
               typeid(T).name() + "' registered as Generic loader but it does "
-- 
GitLab