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

Frame one root c'tor

parent 60ee08f1
No related branches found
No related tags found
1 merge request!1848minor cleanup while working on FlatDetector
...@@ -24,14 +24,12 @@ Frame::Frame(std::vector<const Scale*>&& axes) ...@@ -24,14 +24,12 @@ Frame::Frame(std::vector<const Scale*>&& axes)
} }
Frame::Frame(const Scale*&& ax0) Frame::Frame(const Scale*&& ax0)
: m_axes(std::vector<const Scale*>{std::move(ax0)}) : Frame(std::vector<const Scale*>{std::move(ax0)})
, m_size(FrameUtil::product_size(m_axes.reference()))
{ {
} }
Frame::Frame(const Scale*&& ax0, const Scale*&& ax1) Frame::Frame(const Scale*&& ax0, const Scale*&& ax1)
: m_axes(std::vector<const Scale*>{std::move(ax0), std::move(ax1)}) : Frame(std::vector<const Scale*>{std::move(ax0), std::move(ax1)})
, m_size(FrameUtil::product_size(m_axes.reference()))
{ {
} }
......
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