summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:55:08 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commit72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (patch)
treed52d290cab7f7cbec7e67ebb0f7998962cdae534 /src/client
parent4f22f4d357c99ba4163a496882f813138db3c39b (diff)
*: use `auto`
Diffstat (limited to 'src/client')
-rw-r--r--src/client/New.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/New.cxx b/src/client/New.cxx
index 1f92c63c3..87a5c8e7a 100644
--- a/src/client/New.cxx
+++ b/src/client/New.cxx
@@ -67,7 +67,7 @@ client_new(EventLoop &loop, Partition &partition,
(void)fd.Write(GREETING, sizeof(GREETING) - 1);
const unsigned num = next_client_num++;
- Client *client = new Client(loop, partition, std::move(fd), uid,
+ auto *client = new Client(loop, partition, std::move(fd), uid,
permission,
num);