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/UpdateArchive.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateArchive.hxx') diff --git a/src/UpdateArchive.hxx b/src/UpdateArchive.hxx index 8e9c4f8cb..8f52ca0b6 100644 --- a/src/UpdateArchive.hxx +++ b/src/UpdateArchive.hxx @@ -31,14 +31,14 @@ struct archive_plugin; #ifdef ENABLE_ARCHIVE bool -update_archive_file(Directory *directory, +update_archive_file(Directory &directory, const char *name, const char *suffix, const struct stat *st); #else static inline bool -update_archive_file(gcc_unused Directory *directory, +update_archive_file(gcc_unused Directory &directory, gcc_unused const char *name, gcc_unused const char *suffix, gcc_unused const struct stat *st) -- cgit v1.2.3