summaryrefslogtreecommitdiff
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-01 21:29:33 +0100
committerGitHub <noreply@github.com>2022-02-01 21:29:33 +0100
commitb5707400ebb3daa346fece54c119a5da70852647 (patch)
tree05a82f8a1434e4fa380d9e78cd34c3bcb33ecb1e /editor/import_dock.cpp
parentdc4483a3a74a4cac83fc0387ea4d09066a0a0e1c (diff)
parentfc27636999a15f88b1f3b1d7101d84a67968ba06 (diff)
Merge pull request #57525 from AnilBK/vector-use-clear-has
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index 419688fd9f..f809747410 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -447,7 +447,7 @@ static bool _find_owners(EditorFileSystemDirectory *efsd, const String &p_path)
for (int i = 0; i < efsd->get_file_count(); i++) {
Vector<String> deps = efsd->get_file_deps(i);
- if (deps.find(p_path) != -1) {
+ if (deps.has(p_path)) {
return true;
}
}