CREATE_PROJECT: Sort libraries to be returned

This commit is contained in:
Michał Janiszewski 2020-05-13 22:46:37 +02:00 committed by Eugene Sandulenko
parent eed727474f
commit 6b1fb8fc8f

View File

@ -1195,6 +1195,9 @@ StringList getFeatureLibraries(const Feature &feature) {
StringList fLibraries = tokenize(feature.libraries);
libraries.splice(libraries.end(), fLibraries);
}
// The libraries get sorted as they can get used in algorithms where ordering is a
// precondition, e.g. merge()
libraries.sort();
return libraries;
}