summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_network.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-05-25 15:19:10 +0200
committerGitHub <noreply@github.com>2021-05-25 15:19:10 +0200
commitf164c00a94793234879dc1824bd657db6df939ec (patch)
tree2e6c19a493c20e356b01a2a79f10e63c6e75ff56 /core/io/file_access_network.cpp
parent313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff)
parentda5d7db6100955922e08ee99a02f827214ed8281 (diff)
downloadredot-engine-f164c00a94793234879dc1824bd657db6df939ec.tar.gz
Merge pull request #49061 from madmiraal/rename-len-length
Rename File::get_len() get_length()
Diffstat (limited to 'core/io/file_access_network.cpp')
-rw-r--r--core/io/file_access_network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp
index dedd5523ed..63a8f9c5b6 100644
--- a/core/io/file_access_network.cpp
+++ b/core/io/file_access_network.cpp
@@ -328,7 +328,7 @@ uint64_t FileAccessNetwork::get_position() const {
return pos;
}
-uint64_t FileAccessNetwork::get_len() const {
+uint64_t FileAccessNetwork::get_length() const {
ERR_FAIL_COND_V_MSG(!opened, 0, "File must be opened before use.");
return total_size;
}