Non-Functional Move Assignments in Move Setter Methods
Move setter methods eg.
void setName(QString &&name)
{
m_name = name;
}
don't use the move assignment.
The solution is to add std::move
like that:
void setName(QString &&name)
{
m_name = ::std::move(name);
}
Fixing the issue should result in better memory usage when converting libdatovka structures into Qt object instances.