From 936a07119e8bb3310496fce741ad7c63f176f2b7 Mon Sep 17 00:00:00 2001
From: Alex Buts <Alex.Buts@stfc.ac.uk>
Date: Tue, 21 Apr 2015 18:24:19 +0100
Subject: [PATCH] Re #11613 This should fix the issue by adding missing
 <functional>

header
---
 Code/Mantid/Framework/Geometry/src/Math/Acomp.cpp    | 1 +
 Code/Mantid/Framework/Geometry/src/Math/BnId.cpp     | 1 +
 Code/Mantid/Framework/Geometry/src/Math/PolyBase.cpp | 1 +
 Code/Mantid/Framework/Kernel/src/Statistics.cpp      | 1 +
 4 files changed, 4 insertions(+)

diff --git a/Code/Mantid/Framework/Geometry/src/Math/Acomp.cpp b/Code/Mantid/Framework/Geometry/src/Math/Acomp.cpp
index e324cc00139..0788103182b 100644
--- a/Code/Mantid/Framework/Geometry/src/Math/Acomp.cpp
+++ b/Code/Mantid/Framework/Geometry/src/Math/Acomp.cpp
@@ -6,6 +6,7 @@
 #include "MantidGeometry/Math/RotCounter.h"
 #include <algorithm>
 #include <iostream>
+#include <functional>
 
 namespace Mantid {
 
diff --git a/Code/Mantid/Framework/Geometry/src/Math/BnId.cpp b/Code/Mantid/Framework/Geometry/src/Math/BnId.cpp
index c1e3193dfba..25a999388cb 100644
--- a/Code/Mantid/Framework/Geometry/src/Math/BnId.cpp
+++ b/Code/Mantid/Framework/Geometry/src/Math/BnId.cpp
@@ -9,6 +9,7 @@
 #include <sstream>
 #include <algorithm>
 #include <iterator>
+#include <functional>
 
 #include "MantidGeometry/Math/BnId.h"
 
diff --git a/Code/Mantid/Framework/Geometry/src/Math/PolyBase.cpp b/Code/Mantid/Framework/Geometry/src/Math/PolyBase.cpp
index fae868d89f9..eac6ba5b99a 100644
--- a/Code/Mantid/Framework/Geometry/src/Math/PolyBase.cpp
+++ b/Code/Mantid/Framework/Geometry/src/Math/PolyBase.cpp
@@ -4,6 +4,7 @@
 #include <vector>
 #include <algorithm>
 #include <iterator>
+#include <functional>
 #include <gsl/gsl_poly.h>
 
 #include "MantidKernel/Exception.h"
diff --git a/Code/Mantid/Framework/Kernel/src/Statistics.cpp b/Code/Mantid/Framework/Kernel/src/Statistics.cpp
index 795a1cc009b..5cefc6fec5e 100644
--- a/Code/Mantid/Framework/Kernel/src/Statistics.cpp
+++ b/Code/Mantid/Framework/Kernel/src/Statistics.cpp
@@ -9,6 +9,7 @@
 #include <numeric>
 #include <sstream>
 #include <stdexcept>
+#include <functional>
 
 
 namespace Mantid {
-- 
GitLab