Move binary math functions to Math namespace in math_funcs_binary header.

This commit is contained in:
Lukas Tenbrink 2025-06-13 01:43:35 +02:00
parent 376903417d
commit 0ea5ece984
50 changed files with 330 additions and 286 deletions

View file

@ -106,7 +106,7 @@ Error EMWSPeer::connect_to_url(const String &p_url, const Ref<TLSOptions> &p_tls
if (peer_sock == -1) {
return FAILED;
}
in_buffer.resize(nearest_shift((uint32_t)inbound_buffer_size), max_queued_packets);
in_buffer.resize(Math::nearest_shift((uint32_t)inbound_buffer_size), max_queued_packets);
packet_buffer.resize(inbound_buffer_size);
ready_state = STATE_CONNECTING;
return OK;