From c375eae61dc16332a642ec47b2bab5269c59f5cc Mon Sep 17 00:00:00 2001
From: Samuel Jones <samjones714@gmail.com>
Date: Fri, 10 Aug 2018 10:34:11 +0100
Subject: [PATCH] Re #22515 Remove unused code and fix documentation name

---
 Framework/Algorithms/test/SortXAxisTest.h            | 12 ------------
 .../{SortXAxis-v2.rst => SortXAxis-v1.rst}           |  0
 2 files changed, 12 deletions(-)
 rename docs/source/algorithms/{SortXAxis-v2.rst => SortXAxis-v1.rst} (100%)

diff --git a/Framework/Algorithms/test/SortXAxisTest.h b/Framework/Algorithms/test/SortXAxisTest.h
index e41044de7f8..d19f726565f 100644
--- a/Framework/Algorithms/test/SortXAxisTest.h
+++ b/Framework/Algorithms/test/SortXAxisTest.h
@@ -112,18 +112,6 @@ MatrixWorkspace_sptr createHistoWorkspace(const std::vector<double> xData,
   }
   return outputWorkspace;
 }
-
-bool operator==(const std::vector<double> &lhs, const HistogramX &rhs) {
-  return lhs == rhs.rawData();
-}
-
-bool operator==(const std::vector<double> &lhs, const HistogramY &rhs) {
-  return lhs == rhs.rawData();
-}
-
-bool operator==(const std::vector<double> &lhs, const HistogramDx &rhs) {
-  return lhs == rhs.rawData();
-}
 } // namespace
 
 class SortXAxisTest : public CxxTest::TestSuite {
diff --git a/docs/source/algorithms/SortXAxis-v2.rst b/docs/source/algorithms/SortXAxis-v1.rst
similarity index 100%
rename from docs/source/algorithms/SortXAxis-v2.rst
rename to docs/source/algorithms/SortXAxis-v1.rst
-- 
GitLab