diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-03 20:41:31 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-03 20:41:31 +0100 |
commit | 3102e05da4e64b8ea32b9d8fca01a512979bedd7 (patch) | |
tree | f723a5f6f847e3cd63fc2d304723c02a64a4f949 | |
parent | df4af2b5501f332db248aedd792c2b55789823c5 (diff) |
Client: make attributes "uid" and "num" const
-rw-r--r-- | src/client/Client.hxx | 4 |
1 files 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; |