mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make Game reference a const reference
This commit is contained in:
@@ -374,7 +374,7 @@ std::vector<std::string> SortPlugins(
|
||||
}
|
||||
|
||||
std::vector<std::string> SortPlugins(
|
||||
Game& game,
|
||||
const Game& game,
|
||||
const std::vector<std::string>& loadOrder) {
|
||||
std::vector<const Plugin*> plugins;
|
||||
for (const auto& pluginFilename : loadOrder) {
|
||||
|
||||
@@ -38,7 +38,7 @@ std::vector<std::string> SortPlugins(
|
||||
const std::vector<Group>& userGroups,
|
||||
const std::vector<std::string>& earlyLoadingPlugins);
|
||||
|
||||
std::vector<std::string> SortPlugins(Game& game,
|
||||
std::vector<std::string> SortPlugins(const Game& game,
|
||||
const std::vector<std::string>& loadOrder);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user