From e2ea6b63d333e6999d855a026a005726067c38ac Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 30 Oct 2015 16:44:27 +0100 Subject: reenable gcc warnings for deprecated functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the meantime the strange warnings disappeared, so we can get back to showing them – and fix the one occurance which creeped in in the meantime. Git-Dch: Ignore --- ftparchive/byhash.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ftparchive/byhash.h') diff --git a/ftparchive/byhash.h b/ftparchive/byhash.h index ce05397ad..9fbb479a7 100644 --- a/ftparchive/byhash.h +++ b/ftparchive/byhash.h @@ -11,6 +11,8 @@ #ifndef BYHASH_H #define BYHASH_H +#include + class HashString; // Delete all files in "dir" except for the number specified in "KeepFiles" @@ -18,6 +20,6 @@ class HashString; void DeleteAllButMostRecent(std::string dir, int KeepFiles); // takes a regular input filename -std::string GenByHashFilename(std::string Input, HashString h); +std::string GenByHashFilename(std::string Input, HashString const &h); #endif -- cgit v1.2.3-54-g00ecf