You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add const lvalue ref to editor/* container parameters
This commit is contained in:
@@ -524,7 +524,7 @@ bool EditorFileSystem::_test_for_reimport(const String &p_path, bool p_only_impo
|
||||
return false; //nothing changed
|
||||
}
|
||||
|
||||
bool EditorFileSystem::_scan_import_support(Vector<String> reimports) {
|
||||
bool EditorFileSystem::_scan_import_support(const Vector<String> &reimports) {
|
||||
if (import_support_queries.size() == 0) {
|
||||
return false;
|
||||
}
|
||||
@@ -1161,7 +1161,7 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir, const
|
||||
}
|
||||
}
|
||||
|
||||
void EditorFileSystem::_delete_internal_files(String p_file) {
|
||||
void EditorFileSystem::_delete_internal_files(const String &p_file) {
|
||||
if (FileAccess::exists(p_file + ".import")) {
|
||||
List<String> paths;
|
||||
ResourceFormatImporter::get_singleton()->get_internal_resource_path_list(p_file, &paths);
|
||||
|
||||
Reference in New Issue
Block a user