diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-25 15:19:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 15:19:10 +0200 |
commit | f164c00a94793234879dc1824bd657db6df939ec (patch) | |
tree | 2e6c19a493c20e356b01a2a79f10e63c6e75ff56 /modules/gdscript/tests/test_gdscript.cpp | |
parent | 313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff) | |
parent | da5d7db6100955922e08ee99a02f827214ed8281 (diff) |
Merge pull request #49061 from madmiraal/rename-len-length
Rename File::get_len() get_length()
Diffstat (limited to 'modules/gdscript/tests/test_gdscript.cpp')
-rw-r--r-- | modules/gdscript/tests/test_gdscript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/tests/test_gdscript.cpp b/modules/gdscript/tests/test_gdscript.cpp index 8ad5cdacad..fc73b5bb72 100644 --- a/modules/gdscript/tests/test_gdscript.cpp +++ b/modules/gdscript/tests/test_gdscript.cpp @@ -215,8 +215,8 @@ void test(TestType p_type) { init_language(fa->get_path_absolute().get_base_dir()); Vector<uint8_t> buf; - uint64_t flen = fa->get_len(); - buf.resize(fa->get_len() + 1); + uint64_t flen = fa->get_length(); + buf.resize(flen + 1); fa->get_buffer(buf.ptrw(), flen); buf.write[flen] = 0; |