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 /core/io/file_access_compressed.cpp | |
| parent | 313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff) | |
| download | redot-engine-da5d7db6100955922e08ee99a02f827214ed8281.tar.gz | |
Rename File::get_len() get_length()
Diffstat (limited to 'core/io/file_access_compressed.cpp')
| -rw-r--r-- | core/io/file_access_compressed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp index efcaa80fc5..e54c947340 100644 --- a/core/io/file_access_compressed.cpp +++ b/core/io/file_access_compressed.cpp @@ -237,7 +237,7 @@ uint64_t FileAccessCompressed::get_position() const { } } -uint64_t FileAccessCompressed::get_len() const { +uint64_t FileAccessCompressed::get_length() const { ERR_FAIL_COND_V_MSG(!f, 0, "File must be opened before use."); if (writing) { return write_max; |
