Skip to content
Snippets Groups Projects
Commit 03fd434b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

recommended by clang-tidy

parent 6c708643
No related branches found
No related tags found
1 merge request!2184cleanup as suggested by clang-tidy
......@@ -178,7 +178,7 @@ Datafield IDetector::createDetectorMap() const
ASSERT(m_frame);
auto* f = new Frame(*m_frame);
f->setAxes(std::move(axes));
return Datafield(f);
return {f};
}
std::pair<double, double> IDetector::regionOfInterestBounds(size_t iAxis) const
......
......@@ -111,7 +111,7 @@ public:
virtual size_t indexOfSpecular(const Beam& beam) const = 0;
//! Applies the detector resolution to the given intensity maps
void applyDetectorResolution(Datafield* intensity_map) const;
void applyDetectorResolution(Datafield* df) const;
//! True if a region of interest is explicitly set.
bool hasExplicitRegionOfInterest() const;
......
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