diff options
| author | Fabio Alessandrelli | 2017-12-15 16:05:42 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2017-12-15 17:14:17 +0100 |
| commit | 92067b4714eaf0d2a9be6b4fc50cc9e156c74cad (patch) | |
| tree | 7b50d25b88ba333ecd9d39d97400d27285c6edce /drivers/unix/packet_peer_udp_posix.cpp | |
| parent | 72d5ae84b30c805692e132e2103e14e6cc304e34 (diff) | |
| download | godot-92067b4714eaf0d2a9be6b4fc50cc9e156c74cad.tar.gz godot-92067b4714eaf0d2a9be6b4fc50cc9e156c74cad.tar.zst godot-92067b4714eaf0d2a9be6b4fc50cc9e156c74cad.zip | |
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.cpp')
| -rw-r--r-- | drivers/unix/packet_peer_udp_posix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.cpp b/drivers/unix/packet_peer_udp_posix.cpp index 61d273755..f6742d811 100644 --- a/drivers/unix/packet_peer_udp_posix.cpp +++ b/drivers/unix/packet_peer_udp_posix.cpp @@ -65,7 +65,7 @@ int PacketPeerUDPPosix::get_available_packet_count() const { return queue_count; } -Error PacketPeerUDPPosix::get_packet(const uint8_t **r_buffer, int &r_buffer_size) const { +Error PacketPeerUDPPosix::get_packet(const uint8_t **r_buffer, int &r_buffer_size) { Error err = const_cast<PacketPeerUDPPosix *>(this)->_poll(false); if (err != OK) |
