diff --git a/Framework/Kernel/inc/MantidKernel/Strings.h b/Framework/Kernel/inc/MantidKernel/Strings.h index 9265d85e6790a2a40d267272426a7cb8240efe5b..04ce49ce7eb8af8dbde2f3337c88eee4c7e8ffd8 100644 --- a/Framework/Kernel/inc/MantidKernel/Strings.h +++ b/Framework/Kernel/inc/MantidKernel/Strings.h @@ -65,10 +65,9 @@ namespace Strings { template <typename ITERATOR_TYPE> DLLExport std::string join(ITERATOR_TYPE begin, ITERATOR_TYPE end, const std::string &separator, - typename std::enable_if< - !(std::is_same< - typename std::iterator_traits<ITERATOR_TYPE>::iterator_category, - std::random_access_iterator_tag>::value)>::type * = nullptr) { + typename std::enable_if<!(std::is_same< + typename std::iterator_traits<ITERATOR_TYPE>::iterator_category, + std::random_access_iterator_tag>::value)>::type * = nullptr) { std::ostringstream output; ITERATOR_TYPE it; for (it = begin; it != end;) { @@ -101,10 +100,9 @@ join(ITERATOR_TYPE begin, ITERATOR_TYPE end, const std::string &separator, template <typename ITERATOR_TYPE> DLLExport std::string join(ITERATOR_TYPE begin, ITERATOR_TYPE end, const std::string &separator, - typename std::enable_if< - (std::is_same< - typename std::iterator_traits<ITERATOR_TYPE>::iterator_category, - std::random_access_iterator_tag>::value)>::type * = nullptr) { + typename std::enable_if<(std::is_same< + typename std::iterator_traits<ITERATOR_TYPE>::iterator_category, + std::random_access_iterator_tag>::value)>::type * = nullptr) { // Get the distance between begining and end long int dist = std::distance(begin, end);