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/PerLine.cxx | |
parent | 3b0d583284a890ca32e6a4edd70a0fce40dfa946 (diff) | |
download | scintilla-mirror-15e24b271d134ce630d5034ca8a1bf8c08dc6a56.tar.gz |
Add const where viable.
Diffstat (limited to 'src/PerLine.cxx')
-rw-r--r-- | src/PerLine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PerLine.cxx b/src/PerLine.cxx index 4d76b0b79..b2e4530ea 100644 --- a/src/PerLine.cxx +++ b/src/PerLine.cxx @@ -540,7 +540,7 @@ bool LineTabstops::AddTabstop(Sci::Line line, int x) { int LineTabstops::GetNextTabstop(Sci::Line line, int x) const noexcept { if (line < tabstops.Length()) { - TabstopList *tl = tabstops[line].get(); + const TabstopList *tl = tabstops[line].get(); if (tl) { for (const int i : *tl) { if (i > x) { |