Commit f54b9805 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

Refs #30857 cling clang

parent d81c16c9
......@@ -36,8 +36,8 @@ using namespace Mantid::Kernel;
namespace Crystal {
// handy shortcuts
using Mantid::Geometry::IPeak_uptr;
using Mantid::DataObjects::Peak_uptr;
using Mantid::Geometry::IPeak_uptr;
DECLARE_ALGORITHM(PredictSatellitePeaks)
......@@ -363,7 +363,7 @@ void PredictSatellitePeaks::predictOffsets(
continue;
IPeak_uptr iPeak = Peaks->createPeak(Qs, 1);
Peak_uptr peak(static_cast<DataObjects::Peak*>(iPeak.release()));
Peak_uptr peak(static_cast<DataObjects::Peak *>(iPeak.release()));
peak->setGoniometerMatrix(goniometer);
......@@ -436,7 +436,7 @@ void PredictSatellitePeaks::predictOffsetsWithCrossTerms(
continue;
IPeak_uptr iPeak(Peaks->createPeak(Qs, 1));
Peak_uptr peak(static_cast<DataObjects::Peak*>(iPeak.release()));
Peak_uptr peak(static_cast<DataObjects::Peak *>(iPeak.release()));
peak->setGoniometerMatrix(goniometer);
......
......@@ -391,7 +391,7 @@ PeaksWorkspace::peakInfo(const Kernel::V3D &qFrame, bool labCoords) const {
try {
IPeak_uptr iPeak = createPeak(Qlab);
Peak_uptr peak(static_cast<DataObjects::Peak*>(iPeak.release()));
Peak_uptr peak(static_cast<DataObjects::Peak *>(iPeak.release()));
if (sample().hasOrientedLattice()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment