mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Pass vectors by reference
This commit is contained in:
@@ -309,8 +309,8 @@ std::vector<std::string> SortPlugins(
|
||||
|
||||
std::vector<std::string> SortPlugins(
|
||||
std::vector<PluginSortingData>&& pluginsSortingData,
|
||||
const std::vector<Group> masterlistGroups,
|
||||
const std::vector<Group> userGroups,
|
||||
const std::vector<Group>& masterlistGroups,
|
||||
const std::vector<Group>& userGroups,
|
||||
const std::vector<std::string>& earlyLoadingPlugins) {
|
||||
// If there aren't any plugins, exit early, because sorting assumes
|
||||
// there is at least one plugin.
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
namespace loot {
|
||||
std::vector<std::string> SortPlugins(
|
||||
std::vector<PluginSortingData>&& pluginsSortingData,
|
||||
const std::vector<Group> masterlistGroups,
|
||||
const std::vector<Group> userGroups,
|
||||
const std::vector<Group>& masterlistGroups,
|
||||
const std::vector<Group>& userGroups,
|
||||
const std::vector<std::string>& earlyLoadingPlugins);
|
||||
|
||||
std::vector<std::string> SortPlugins(Game& game,
|
||||
|
||||
Reference in New Issue
Block a user