diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-15 15:44:43 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-15 15:44:43 +0100 |
commit | ef5d6ccfb7bf155a238ada79db12ea41ca993116 (patch) | |
tree | bc1acc6c5b0df70661293de0f8d0586ce0808982 /core/io/file_access_pack.cpp | |
parent | 4859f8090f1e21d42bc81313f15367dcb1c4220c (diff) | |
parent | a8bc9f3e78788bdf0be7348fcbfac15c127f1f48 (diff) | |
download | redot-engine-ef5d6ccfb7bf155a238ada79db12ea41ca993116.tar.gz |
Merge pull request #86966 from Muller-Castro/value2ref-core
Add const lvalue ref to `core/*` container parameters
Diffstat (limited to 'core/io/file_access_pack.cpp')
-rw-r--r-- | core/io/file_access_pack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp index 5a4d6dd099..7595bc41f5 100644 --- a/core/io/file_access_pack.cpp +++ b/core/io/file_access_pack.cpp @@ -455,7 +455,7 @@ String DirAccessPack::get_drive(int p_drive) { return ""; } -PackedData::PackedDir *DirAccessPack::_find_dir(String p_dir) { +PackedData::PackedDir *DirAccessPack::_find_dir(const String &p_dir) { String nd = p_dir.replace("\\", "/"); // Special handling since simplify_path() will forbid it |