mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Add const references detected by clang-tidy
This commit is contained in:
parent
2d0ee20ff3
commit
a3cb1b096f
57 changed files with 120 additions and 120 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue