Skip to content
Snippets Groups Projects
Commit b63a64e2 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

Refs #30887 cling clang


Signed-off-by: default avatarJose Borreguero <borreguero@gmail.com>
parent f158ff0f
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "MantidGeometry/Crystal/IPeak.h" #include "MantidGeometry/Crystal/IPeak.h"
#include "MantidKernel/ListValidator.h" #include "MantidKernel/ListValidator.h"
#include <variant>
#include <boost/function.hpp> #include <boost/function.hpp>
using namespace Mantid::API; using namespace Mantid::API;
...@@ -80,7 +79,6 @@ void PeaksIntersection::executePeaksIntersection(const bool checkPeakExtents) { ...@@ -80,7 +79,6 @@ void PeaksIntersection::executePeaksIntersection(const bool checkPeakExtents) {
m_peakRadius = this->getProperty("PeakRadius"); m_peakRadius = this->getProperty("PeakRadius");
boost::function<V3D(Peak *)> coordFrameFunc; boost::function<V3D(Peak *)> coordFrameFunc;
coordFrameFunc = &Peak::getHKL; coordFrameFunc = &Peak::getHKL;
if (coordinateFrame == detectorSpaceFrame()) { if (coordinateFrame == detectorSpaceFrame()) {
......
...@@ -252,8 +252,7 @@ void PeakOverlay::createMarkers(const PeakMarker2D::Style &style) { ...@@ -252,8 +252,7 @@ void PeakOverlay::createMarkers(const PeakMarker2D::Style &style) {
try { try {
auto peakFull = dynamic_cast<Mantid::DataObjects::Peak &>(peak); auto peakFull = dynamic_cast<Mantid::DataObjects::Peak &>(peak);
pos = peakFull.getDetPos(); pos = peakFull.getDetPos();
} } catch (std::bad_cast) {
catch(std::bad_cast) {
g_log.error("Cannot create markers for this type of peak"); g_log.error("Cannot create markers for this type of peak");
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment