From 8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 8 Apr 2022 10:05:11 +1000 Subject: Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII so subclasses do not need to call StandardASCII. Avoid some lint warnings. --- src/Editor.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index d5e6a92ff..6ff0f2d97 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4084,17 +4084,9 @@ void Editor::Indent(bool forwards) { ContainerNeedsUpdate(Update::Selection); } -class CaseFolderASCII : public CaseFolderTable { -public: - CaseFolderASCII() noexcept { - StandardASCII(); - } -}; - - std::unique_ptr Editor::CaseFolderForEncoding() { // Simple default that only maps ASCII upper case to lower case. - return std::make_unique(); + return std::make_unique(); } /** -- cgit v1.2.3