From ff626ac76357940b2f0ac5cb243a68ac13df0f8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:48:38 +0200 Subject: *: use references instead of pointers --- src/Mapper.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Mapper.hxx') 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 -- cgit v1.2.3