Client: make attributes "uid" and "num" const

This commit is contained in:
Max Kellermann 2017-02-03 20:41:31 +01:00
parent df4af2b550
commit 3102e05da4

View File

@ -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;