diff options
author | Neil <nyamatongwe@gmail.com> | 2023-06-28 08:42:26 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-06-28 08:42:26 +1000 |
commit | 15e24b271d134ce630d5034ca8a1bf8c08dc6a56 (patch) | |
tree | 737335995cbde156576656691a48b869659c5dd5 /src/Editor.h | |
parent | 3b0d583284a890ca32e6a4edd70a0fce40dfa946 (diff) | |
download | scintilla-mirror-15e24b271d134ce630d5034ca8a1bf8c08dc6a56.tar.gz |
Add const where viable.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index f9d938685..54ca1110f 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -699,7 +699,7 @@ public: AutoSurface(const Editor *ed) : surf(ed->CreateMeasurementSurface()) { } - AutoSurface(SurfaceID sid, Editor *ed, std::optional<Scintilla::Technology> technology = {}) : + AutoSurface(SurfaceID sid, const Editor *ed, std::optional<Scintilla::Technology> technology = {}) : surf(ed->CreateDrawingSurface(sid, technology)) { } // Deleted so AutoSurface objects can not be copied. |