summaryrefslogtreecommitdiffstats
path: root/editor/editor_plugin_settings.cpp
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez@rubonnek.com>2023-11-18 17:40:56 -0500
committerWilson E. Alvarez <wilson.e.alvarez@rubonnek.com>2023-12-16 13:36:44 -0500
commita3cb1b096fcecad03562205bd285ebefc816c64a (patch)
tree3966ab0682c6269c60de7b438d51b30ae164ffde /editor/editor_plugin_settings.cpp
parent2d0ee20ff30461b6b10f6fdfba87511a0ebc6642 (diff)
downloadredot-engine-a3cb1b096fcecad03562205bd285ebefc816c64a.tar.gz
Add const references detected by clang-tidy
Diffstat (limited to 'editor/editor_plugin_settings.cpp')
-rw-r--r--editor/editor_plugin_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_plugin_settings.cpp b/editor/editor_plugin_settings.cpp
index ef8730cabf..6c38d9de58 100644
--- a/editor/editor_plugin_settings.cpp
+++ b/editor/editor_plugin_settings.cpp
@@ -64,7 +64,7 @@ void EditorPluginSettings::update_plugins() {
for (int i = 0; i < plugins.size(); i++) {
Ref<ConfigFile> cf;
cf.instantiate();
- const String path = plugins[i];
+ const String &path = plugins[i];
Error err2 = cf->load(path);