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

rm return

parent 200bd597
No related branches found
No related tags found
1 merge request!2365rename SelectionVector -> PolyVector
Pipeline #130191 passed
......@@ -71,13 +71,12 @@ public:
void setCertainItem(BaseType* t) { m_item.reset(t); }
//! Directly set the new item.
template <typename S> S* setCertainItem()
template <typename S> void setCertainItem()
{
auto* s = new S();
if (s != nullptr && m_initializer)
m_initializer(s, m_item.get());
m_item.reset(s);
return s;
auto* t = new S();
if (t != nullptr && m_initializer)
m_initializer(t, m_item.get());
m_item.reset(t);
}
//! Serializes the catalog index of the currently selected type and calls
......
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