From c4aceb388b3dbabb241cb24748da0fc3c19a3bf3 Mon Sep 17 00:00:00 2001
From: Martyn Gigg <martyn.gigg@gmail.com>
Date: Mon, 20 Nov 2017 14:27:45 +0000
Subject: [PATCH] Refs #21130 Apply clang-format changes

---
 .../HistogramData/inc/MantidHistogramData/HistogramItem.h   | 1 -
 Framework/HistogramData/src/Histogram.cpp                   | 4 ++--
 Framework/HistogramData/test/HistogramIteratorTest.h        | 6 +++---
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Framework/HistogramData/inc/MantidHistogramData/HistogramItem.h b/Framework/HistogramData/inc/MantidHistogramData/HistogramItem.h
index 39926be96ee..724d6cde738 100644
--- a/Framework/HistogramData/inc/MantidHistogramData/HistogramItem.h
+++ b/Framework/HistogramData/inc/MantidHistogramData/HistogramItem.h
@@ -167,7 +167,6 @@ private:
   HistogramItem(const Histogram &histogram, const size_t index)
       : m_histogram(histogram), m_index(index) {}
 
-
   bool xModeIsPoints() const {
     return Histogram::XMode::Points == m_histogram.xMode();
   }
diff --git a/Framework/HistogramData/src/Histogram.cpp b/Framework/HistogramData/src/Histogram.cpp
index a6ecbfaa841..c2d4bc5df28 100644
--- a/Framework/HistogramData/src/Histogram.cpp
+++ b/Framework/HistogramData/src/Histogram.cpp
@@ -286,11 +286,11 @@ void Histogram::resize(size_t n) {
 }
 
 HistogramIterator Histogram::begin() const {
-    return HistogramIterator(*this, 0);
+  return HistogramIterator(*this, 0);
 }
 
 HistogramIterator Histogram::end() const {
-    return HistogramIterator(*this, size());
+  return HistogramIterator(*this, size());
 }
 
 } // namespace HistogramData
diff --git a/Framework/HistogramData/test/HistogramIteratorTest.h b/Framework/HistogramData/test/HistogramIteratorTest.h
index 2ea0576cbd2..4a7c707d281 100644
--- a/Framework/HistogramData/test/HistogramIteratorTest.h
+++ b/Framework/HistogramData/test/HistogramIteratorTest.h
@@ -293,7 +293,7 @@ public:
   void test_convert_counts_to_frequency_once_per_histogram() {
     double total = 0;
     for (size_t i = 0; i < nHists; i++) {
-      const auto& frequencies = m_hist.frequencies();
+      const auto &frequencies = m_hist.frequencies();
       for (auto &frequency : frequencies)
         total += frequency;
     }
@@ -312,8 +312,8 @@ public:
   void test_convert_counts_to_frequency_once_per_histogram_sparse() {
     double total = 0;
     for (size_t i = 0; i < nHists; i++) {
-      const auto& counts = m_hist.counts();
-      const auto& frequencies = m_hist.frequencies();
+      const auto &counts = m_hist.counts();
+      const auto &frequencies = m_hist.frequencies();
       for (size_t j = 0; j < histSize; ++j)
         if (counts[j] > histSize - 5)
           total += frequencies[j];
-- 
GitLab