From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/ClientSubscribe.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ClientSubscribe.cxx') diff --git a/src/ClientSubscribe.cxx b/src/ClientSubscribe.cxx index 918a621db..6bdb3e021 100644 --- a/src/ClientSubscribe.cxx +++ b/src/ClientSubscribe.cxx @@ -28,8 +28,8 @@ enum client_subscribe_result client_subscribe(Client *client, const char *channel) { - assert(client != NULL); - assert(channel != NULL); + assert(client != nullptr); + assert(channel != nullptr); if (!client_message_valid_channel_name(channel)) return CLIENT_SUBSCRIBE_INVALID; @@ -78,7 +78,7 @@ client_unsubscribe_all(Client *client) bool client_push_message(Client *client, const ClientMessage &msg) { - assert(client != NULL); + assert(client != nullptr); if (client->messages.size() >= CLIENT_MAX_MESSAGES || !client->IsSubscribed(msg.GetChannel())) -- cgit v1.2.3