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 /drivers/unix/file_access_unix.cpp | |
parent | 313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff) | |
parent | da5d7db6100955922e08ee99a02f827214ed8281 (diff) | |
download | redot-engine-f164c00a94793234879dc1824bd657db6df939ec.tar.gz |
Merge pull request #49061 from madmiraal/rename-len-length
Rename File::get_len() get_length()
Diffstat (limited to 'drivers/unix/file_access_unix.cpp')
-rw-r--r-- | drivers/unix/file_access_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index de9a7867ee..ec23df62d0 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -212,7 +212,7 @@ uint64_t FileAccessUnix::get_position() const { return pos; } -uint64_t FileAccessUnix::get_len() const { +uint64_t FileAccessUnix::get_length() const { ERR_FAIL_COND_V_MSG(!f, 0, "File must be opened before use."); int64_t pos = ftello(f); |