*: use references instead of pointers

This commit is contained in:
Max Kellermann
2013-10-19 18:48:38 +02:00
parent 59f8144c50
commit ff626ac763
122 changed files with 1077 additions and 1083 deletions

View File

@@ -24,7 +24,7 @@
#include "Song.hxx"
#include "Client.hxx"
void tag_print_types(Client *client)
void tag_print_types(Client &client)
{
int i;
@@ -35,7 +35,7 @@ void tag_print_types(Client *client)
}
}
void tag_print(Client *client, const Tag &tag)
void tag_print(Client &client, const Tag &tag)
{
if (tag.time >= 0)
client_printf(client, SONG_TIME "%i\n", tag.time);