Make Game reference a const reference

This commit is contained in:
Oliver Hamlet
2025-03-02 22:40:47 +00:00
parent 49fc7910ea
commit 89a6dd8bb5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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);
}