1769f80547
This was evidently a typo. Didn't get a crash but GCC 12 raised a `-Warray-bounds` warning: ``` In file included from ./core/io/stream_peer.h:34, from ./core/io/packet_peer.h:34, from ./core/multiplayer/multiplayer_peer.h:34, from modules/webrtc/webrtc_multiplayer_peer.h:34, from modules/webrtc/webrtc_multiplayer_peer.cpp:31: In member function 'T* Ref<T>::operator->() [with T = WebRTCMultiplayerPeer::ConnectedPeer]', inlined from 'virtual Error WebRTCMultiplayerPeer::put_packet(const uint8_t*, int)' at modules/webrtc/webrtc_multiplayer_peer.cpp:376:4: ./core/object/ref_counted.h:101:24: error: array subscript 0 is outside array bounds of 'Ref<WebRTCMultiplayerPeer::ConnectedPeer> [0]' [-Werror=array-bounds] 101 | return reference; | ^~~~~~~~~ ``` |
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
library_godot_webrtc.js | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
webrtc_data_channel_extension.cpp | ||
webrtc_data_channel_extension.h | ||
webrtc_data_channel_js.cpp | ||
webrtc_data_channel_js.h | ||
webrtc_data_channel.cpp | ||
webrtc_data_channel.h | ||
webrtc_multiplayer_peer.cpp | ||
webrtc_multiplayer_peer.h | ||
webrtc_peer_connection_extension.cpp | ||
webrtc_peer_connection_extension.h | ||
webrtc_peer_connection_js.cpp | ||
webrtc_peer_connection_js.h | ||
webrtc_peer_connection.cpp | ||
webrtc_peer_connection.h |