You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add const references detected by clang-tidy
This commit is contained in:
@@ -491,7 +491,7 @@ PackedData::PackedDir *DirAccessPack::_find_dir(String p_dir) {
|
||||
}
|
||||
|
||||
for (int i = 0; i < paths.size(); i++) {
|
||||
String p = paths[i];
|
||||
const String &p = paths[i];
|
||||
if (p == ".") {
|
||||
continue;
|
||||
} else if (p == "..") {
|
||||
|
||||
Reference in New Issue
Block a user