diff --git a/Framework/API/inc/MantidAPI/FileLoaderRegistry.h b/Framework/API/inc/MantidAPI/FileLoaderRegistry.h index c53d1efb878f78e4820a02aed53bbe6f113d8aba..54a3ba9613092a4bd16933f0a7cadf7433fe3471 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 "