Skip to content
Snippets Groups Projects
Commit d84b728d authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Remove incorrect std::move use

parent 71cf89ea
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -25,9 +25,7 @@ class ItemIdT
constexpr ItemIdT
operator++(int)
{
ItemIdT item_id(m_id);
++m_id;
return std::move(item_id);
return ItemIdT{m_id++};
}
PUGS_INLINE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment