diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-30 16:44:27 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:05 +0100 |
commit | e2ea6b63d333e6999d855a026a005726067c38ac (patch) | |
tree | 6e8854e4bb4d57eefa8e3af2177d1fdd932dab4f /ftparchive/byhash.h | |
parent | 294a80209a0c6ea617a14fb2ae650d4fd329eab5 (diff) |
reenable gcc warnings for deprecated functions
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
Diffstat (limited to 'ftparchive/byhash.h')
-rw-r--r-- | ftparchive/byhash.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <string> + 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 |