Fix PluginMetadata::NameMatches() performance

This reverts 15781c9b6b in favour of a
more complete fix that breaks ABI stability.
This commit is contained in:
Oliver Hamlet
2022-02-06 19:06:17 +00:00
parent bd242e847b
commit 7204e37721
5 changed files with 21 additions and 39 deletions
+2
View File
@@ -257,6 +257,8 @@ public:
private:
std::string name_;
std::optional<std::regex> nameRegex_;
std::optional<std::string> group_;
std::vector<File> loadAfter_;
std::vector<File> requirements_;