mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make PluginMetadata::GetTags() return a std::vector
The collection is only ever iterated over, and the uniqueness and ordering don't matter.
This commit is contained in:
@@ -124,7 +124,7 @@ public:
|
||||
* Get the plugin's Bash Tag suggestions.
|
||||
* @return The plugin's Bash Tag suggestions.
|
||||
*/
|
||||
LOOT_API std::set<Tag> GetTags() const;
|
||||
LOOT_API std::vector<Tag> GetTags() const;
|
||||
|
||||
/**
|
||||
* Get the plugin's dirty plugin information.
|
||||
@@ -198,7 +198,7 @@ public:
|
||||
* @param tags
|
||||
* The Bash Tag suggestions to set.
|
||||
*/
|
||||
LOOT_API void SetTags(const std::set<Tag>& tags);
|
||||
LOOT_API void SetTags(const std::vector<Tag>& tags);
|
||||
|
||||
/**
|
||||
* Set the plugin's dirty information.
|
||||
@@ -272,7 +272,7 @@ private:
|
||||
std::vector<File> requirements_;
|
||||
std::vector<File> incompatibilities_;
|
||||
std::vector<Message> messages_;
|
||||
std::set<Tag> tags_;
|
||||
std::vector<Tag> tags_;
|
||||
std::set<PluginCleaningData> dirtyInfo_;
|
||||
std::set<PluginCleaningData> cleanInfo_;
|
||||
std::set<Location> locations_;
|
||||
|
||||
Reference in New Issue
Block a user