mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
UICommon/ResourcePack: Allow priority helpers to take arguments by const reference
There's nothing going on with behavior here that would prevent these from being const qualified. Also better communicates that this function isn't intended to modify the given resource pack.
This commit is contained in:
@ -19,6 +19,6 @@ bool IsInstalled(const ResourcePack& pack);
|
||||
|
||||
std::vector<ResourcePack>& GetPacks();
|
||||
|
||||
std::vector<ResourcePack*> GetHigherPriorityPacks(ResourcePack& pack);
|
||||
std::vector<ResourcePack*> GetLowerPriorityPacks(ResourcePack& pack);
|
||||
std::vector<ResourcePack*> GetHigherPriorityPacks(const ResourcePack& pack);
|
||||
std::vector<ResourcePack*> GetLowerPriorityPacks(const ResourcePack& pack);
|
||||
} // namespace ResourcePack
|
||||
|
Reference in New Issue
Block a user