diff options
| author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-05-25 07:58:49 +0100 |
|---|---|---|
| committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-05-25 11:54:28 +0100 |
| commit | da5d7db6100955922e08ee99a02f827214ed8281 (patch) | |
| tree | 2e6c19a493c20e356b01a2a79f10e63c6e75ff56 /tests/test_math.cpp | |
| parent | 313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff) | |
| download | redot-engine-da5d7db6100955922e08ee99a02f827214ed8281.tar.gz | |
Rename File::get_len() get_length()
Diffstat (limited to 'tests/test_math.cpp')
| -rw-r--r-- | tests/test_math.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_math.cpp b/tests/test_math.cpp index 85cfdf7d2c..88c32713ed 100644 --- a/tests/test_math.cpp +++ b/tests/test_math.cpp @@ -529,8 +529,8 @@ MainLoop *test() { ERR_FAIL_COND_V_MSG(!fa, nullptr, "Could not open file: " + test); Vector<uint8_t> buf; - uint64_t flen = fa->get_len(); - buf.resize(fa->get_len() + 1); + uint64_t flen = fa->get_length(); + buf.resize(fa->get_length() + 1); fa->get_buffer(buf.ptrw(), flen); buf.write[flen] = 0; |
