From 3102e05da4e64b8ea32b9d8fca01a512979bedd7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Feb 2017 20:41:31 +0100 Subject: Client: make attributes "uid" and "num" const --- src/client/Client.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/Client.hxx b/src/client/Client.hxx index 69492b4ee..960984296 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -55,11 +55,11 @@ public: unsigned permission; /** the uid of the client process, or -1 if unknown */ - int uid; + const int uid; CommandListBuilder cmd_list; - unsigned int num; /* client number */ + const unsigned int num; /* client number */ /** is this client waiting for an "idle" response? */ bool idle_waiting; -- cgit v1.2.3