aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistState.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:48:38 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:48:38 +0200
commitff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch)
tree493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/PlaylistState.hxx
parent59f8144c50765189594d5932fc25869f9ea6e265 (diff)
downloadmpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz
mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz
mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip
*: use references instead of pointers
Diffstat (limited to 'src/PlaylistState.hxx')
-rw-r--r--src/PlaylistState.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/PlaylistState.hxx b/src/PlaylistState.hxx
index 7e9944789..339ac1061 100644
--- a/src/PlaylistState.hxx
+++ b/src/PlaylistState.hxx
@@ -32,12 +32,12 @@ struct player_control;
class TextFile;
void
-playlist_state_save(FILE *fp, const struct playlist *playlist,
- struct player_control *pc);
+playlist_state_save(FILE *fp, const struct playlist &playlist,
+ player_control &pc);
bool
playlist_state_restore(const char *line, TextFile &file,
- struct playlist *playlist, struct player_control *pc);
+ struct playlist &playlist, player_control &pc);
/**
* Generates a hash number for the current state of the playlist and
@@ -46,7 +46,7 @@ playlist_state_restore(const char *line, TextFile &file,
* be saved.
*/
unsigned
-playlist_state_get_hash(const struct playlist *playlist,
- struct player_control *pc);
+playlist_state_get_hash(const struct playlist &playlist,
+ player_control &c);
#endif