diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-18 19:50:34 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-18 19:50:34 +1100 |
commit | 6af47b53d52c29474bfc551700f8394dbf1dbc04 (patch) | |
tree | 12306e8c4586c60ebcc64acac5018b570b69605f /cocoa/ScintillaCocoa.h | |
parent | 402e089842d5aa2bb3774a665e26c42dc91fa5b4 (diff) | |
download | scintilla-mirror-6af47b53d52c29474bfc551700f8394dbf1dbc04.tar.gz |
Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 6d446a9bf..b94a30aa2 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -120,7 +120,7 @@ protected: void Redraw() override; void Init(); - CaseFolder *CaseFolderForEncoding() override; + std::unique_ptr<CaseFolder> CaseFolderForEncoding() override; std::string CaseMapString(const std::string &s, int caseMapping) override; void CancelModes() override; |