Skip to content

Simplify helpers of Repository::definition[s]For*()

Igor Kushnir requested to merge work/simplify-definition-for-helpers into master

With the member function pointer indirection gone, the type of the inner lambda's name argument (const QString & or QStringView) no longer affects performance.

This refactoring shortens and simplifies the code without affecting the performance of Repository::definition[s]For(FileName|MimeType).

Merge request reports

Loading