remove ref in arg

This commit is contained in:
Fire Cube 2025-05-24 12:00:11 +02:00
parent 0afb2a7e22
commit b6bdac3161

View File

@ -58,7 +58,7 @@ public:
modules.push_back({name, IsSystemModule(path), true}); modules.push_back({name, IsSystemModule(path), true});
} }
static void AddModule(std::string& name) { static void AddModule(std::string name) {
name = name + ".prx"; name = name + ".prx";
std::scoped_lock lock(modules_mutex); std::scoped_lock lock(modules_mutex);