From 3a52ab1af16df8833eaab293106a85ba909be864 Mon Sep 17 00:00:00 2001 From: Don HO Date: Mon, 7 May 2018 21:11:22 +0200 Subject: [PATCH] Remove unused method --- PowerEditor/src/MISC/Common/Sorters.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/PowerEditor/src/MISC/Common/Sorters.h b/PowerEditor/src/MISC/Common/Sorters.h index 7191c19c..836f2fa1 100644 --- a/PowerEditor/src/MISC/Common/Sorters.h +++ b/PowerEditor/src/MISC/Common/Sorters.h @@ -331,24 +331,6 @@ protected: _locale_t _usLocale; }; -// Converts lines to long long before sorting. -class IntegerSorter : public NumericSorter -{ -public: - IntegerSorter(bool isDescending, size_t fromColumn, size_t toColumn) : NumericSorter(isDescending, fromColumn, toColumn) { }; - -protected: - virtual generic_string prepareStringForConversion(const generic_string& input) - { - return stringTakeWhileAdmissable(getSortKey(input), TEXT(" \t\r\n0123456789-")); - } - - long long convertStringToNumber(const generic_string& input) override - { - return std::stoll(input); - } -}; - // Converts lines to double before sorting (assumes decimal comma). class DecimalCommaSorter : public NumericSorter {