Skip to content
Snippets Groups Projects
Commit eb23b478 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

rm unique pointer

parent 1e84bfd2
No related branches found
No related tags found
1 merge request!1642Fix 2D data rotation (#599)
Pipeline #99922 passed
......@@ -302,7 +302,7 @@ void RealItem::rotateData()
}
// -- now rotate data
std::unique_ptr<const Datafield> input(intensityDataItem()->c_field());
const Datafield* input = intensityDataItem()->c_field();
intensityDataItem()->setDatafield(DataUtil::Data::createRearrangedDataSet(*input, 1).release());
intensityDataItem()->setAxesRangeToData();
}
......
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