diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
commit | ff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch) | |
tree | 493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/protocol/ArgParser.hxx | |
parent | 59f8144c50765189594d5932fc25869f9ea6e265 (diff) | |
download | mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip |
*: use references instead of pointers
Diffstat (limited to 'src/protocol/ArgParser.hxx')
-rw-r--r-- | src/protocol/ArgParser.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/protocol/ArgParser.hxx b/src/protocol/ArgParser.hxx index f69248d2d..ea28de79e 100644 --- a/src/protocol/ArgParser.hxx +++ b/src/protocol/ArgParser.hxx @@ -27,22 +27,22 @@ class Client; bool -check_uint32(Client *client, uint32_t *dst, const char *s); +check_uint32(Client &client, uint32_t *dst, const char *s); bool -check_int(Client *client, int *value_r, const char *s); +check_int(Client &client, int *value_r, const char *s); bool -check_range(Client *client, unsigned *value_r1, unsigned *value_r2, +check_range(Client &client, unsigned *value_r1, unsigned *value_r2, const char *s); bool -check_unsigned(Client *client, unsigned *value_r, const char *s); +check_unsigned(Client &client, unsigned *value_r, const char *s); bool -check_bool(Client *client, bool *value_r, const char *s); +check_bool(Client &client, bool *value_r, const char *s); bool -check_float(Client *client, float *value_r, const char *s); +check_float(Client &client, float *value_r, const char *s); #endif |