You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +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