diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2023-09-16 16:18:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2023-09-16 16:24:23 +0900 |
| commit | 8956c58d126a4e57e114f69ba6a5961724b7a817 (patch) | |
| tree | 7b9bfbf44d8c0ab32b0abd2cf8b748c9779a8c28 /src/ConsoleStatCalc.h | |
| parent | ea6d4240d04da8b0046fda3333a92d64dd39d536 (diff) | |
Remove deprecated std::unary_function and std::binary_function
Diffstat (limited to 'src/ConsoleStatCalc.h')
| -rw-r--r-- | src/ConsoleStatCalc.h | 2 |
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; |
