diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 54336c19f..ab5c9c811 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4057,9 +4057,9 @@ public: }; -CaseFolder *Editor::CaseFolderForEncoding() { +std::unique_ptr<CaseFolder> Editor::CaseFolderForEncoding() { // Simple default that only maps ASCII upper case to lower case. - return new CaseFolderASCII(); + return std::make_unique<CaseFolderASCII>(); } /** |