From b6bdac316117530c077a97d36d25863e3eeb1b84 Mon Sep 17 00:00:00 2001 From: Fire Cube Date: Sat, 24 May 2025 12:00:11 +0200 Subject: [PATCH] remove ref in arg --- src/core/devtools/widget/module_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/devtools/widget/module_list.h b/src/core/devtools/widget/module_list.h index f1ef2f517..084085b7e 100644 --- a/src/core/devtools/widget/module_list.h +++ b/src/core/devtools/widget/module_list.h @@ -58,7 +58,7 @@ public: modules.push_back({name, IsSystemModule(path), true}); } - static void AddModule(std::string& name) { + static void AddModule(std::string name) { name = name + ".prx"; std::scoped_lock lock(modules_mutex);