summaryrefslogtreecommitdiff
path: root/core/io/stream_peer.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-03 15:19:07 +0200
committerGitHub <noreply@github.com>2021-06-03 15:19:07 +0200
commit7ab34e1a96ad6210bd583a00df379637b31169d6 (patch)
treecb7e2f031dd739a9c5aa05ffd4c0d0f6c29f915a /core/io/stream_peer.cpp
parentdf5a20a310451fb2debb732c690a0cc18c714c2f (diff)
parent12462d9055bded888ae5ced2e121e667b3e0e0e3 (diff)
Merge pull request #48889 from Calinou/file-rename-endian-swap
Rename File's `endian_swap` to `big_endian`
Diffstat (limited to 'core/io/stream_peer.cpp')
-rw-r--r--core/io/stream_peer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp
index 74154321b3..ee5e9eca0c 100644
--- a/core/io/stream_peer.cpp
+++ b/core/io/stream_peer.cpp
@@ -108,8 +108,8 @@ Array StreamPeer::_get_partial_data(int p_bytes) {
return ret;
}
-void StreamPeer::set_big_endian(bool p_enable) {
- big_endian = p_enable;
+void StreamPeer::set_big_endian(bool p_big_endian) {
+ big_endian = p_big_endian;
}
bool StreamPeer::is_big_endian_enabled() const {