diff --git a/Framework/Geometry/inc/MantidGeometry/Instrument/ComponentInfo.h b/Framework/Geometry/inc/MantidGeometry/Instrument/ComponentInfo.h index 6ab1f339ac3eeaaa7674b84eb11c29a0b9fcf313..73090822a23a767619d80092bf4994114ac206b6 100644 --- a/Framework/Geometry/inc/MantidGeometry/Instrument/ComponentInfo.h +++ b/Framework/Geometry/inc/MantidGeometry/Instrument/ComponentInfo.h @@ -5,7 +5,6 @@ #include "MantidGeometry/DllConfig.h" #include "MantidGeometry/Objects/BoundingBox.h" #include <boost/shared_ptr.hpp> -#include <map> #include <unordered_map> #include <vector> diff --git a/Framework/Geometry/src/Instrument/ComponentInfo.cpp b/Framework/Geometry/src/Instrument/ComponentInfo.cpp index 3cbb4214815a5a8fabc5d6793418772446cf4ae4..fdd3724e958715e17e5cdf4892b4983509f4c646 100644 --- a/Framework/Geometry/src/Instrument/ComponentInfo.cpp +++ b/Framework/Geometry/src/Instrument/ComponentInfo.cpp @@ -394,7 +394,6 @@ BoundingBox ComponentInfo::boundingBox(const size_t componentIndex, } BoundingBox absoluteBB; - std::map<size_t, size_t> detExclusions{}; // Dummy HACK! const auto compFlag = componentType(componentIndex); if (hasSource() && componentIndex == source()) { // Do nothing