mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-20 00:18:27 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -265,7 +265,7 @@ bool WSLServer::has_peer(int p_id) const {
|
||||
}
|
||||
|
||||
Ref<WebSocketPeer> WSLServer::get_peer(int p_id) const {
|
||||
ERR_FAIL_COND_V(!has_peer(p_id), NULL);
|
||||
ERR_FAIL_COND_V(!has_peer(p_id), nullptr);
|
||||
return _peer_map[p_id];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user