summaryrefslogtreecommitdiff
path: root/src/ConsoleStatCalc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ConsoleStatCalc.h')
-rw-r--r--src/ConsoleStatCalc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ConsoleStatCalc.h b/src/ConsoleStatCalc.h
index 3940ef0e..76bfd5b7 100644
--- a/src/ConsoleStatCalc.h
+++ b/src/ConsoleStatCalc.h
@@ -45,7 +45,7 @@
namespace aria2 {
-class SizeFormatter : public std::unary_function<int64_t, std::string> {
+class SizeFormatter {
protected:
virtual std::string format(int64_t size) const = 0;