You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add const references detected by clang-tidy
This commit is contained in:
@@ -50,7 +50,7 @@ void ResourcePreloaderEditor::_notification(int p_what) {
|
||||
|
||||
void ResourcePreloaderEditor::_files_load_request(const Vector<String> &p_paths) {
|
||||
for (int i = 0; i < p_paths.size(); i++) {
|
||||
String path = p_paths[i];
|
||||
const String &path = p_paths[i];
|
||||
|
||||
Ref<Resource> resource;
|
||||
resource = ResourceLoader::load(path);
|
||||
|
||||
Reference in New Issue
Block a user