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/Mapper.hxx | |
parent | 59f8144c50765189594d5932fc25869f9ea6e265 (diff) | |
download | mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip |
*: use references instead of pointers
Diffstat (limited to '')
-rw-r--r-- | src/Mapper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mapper.hxx b/src/Mapper.hxx index c340e6d64..be69a7110 100644 --- a/src/Mapper.hxx +++ b/src/Mapper.hxx @@ -91,7 +91,7 @@ map_uri_fs(const char *uri); */ gcc_pure AllocatedPath -map_directory_fs(const Directory *directory); +map_directory_fs(const Directory &directory); /** * Determines the file system path of a directory's child (may be a @@ -103,7 +103,7 @@ map_directory_fs(const Directory *directory); */ gcc_pure AllocatedPath -map_directory_child_fs(const Directory *directory, const char *name); +map_directory_child_fs(const Directory &directory, const char *name); /** * Determines the file system path of a song. This must not be a @@ -114,7 +114,7 @@ map_directory_child_fs(const Directory *directory, const char *name); */ gcc_pure AllocatedPath -map_song_fs(const Song *song); +map_song_fs(const Song &song); /** * Maps a file system path (relative to the music directory or |