aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-06-28 08:42:26 +1000
committerNeil <nyamatongwe@gmail.com>2023-06-28 08:42:26 +1000
commit15e24b271d134ce630d5034ca8a1bf8c08dc6a56 (patch)
tree737335995cbde156576656691a48b869659c5dd5 /src/PerLine.cxx
parent3b0d583284a890ca32e6a4edd70a0fce40dfa946 (diff)
downloadscintilla-mirror-15e24b271d134ce630d5034ca8a1bf8c08dc6a56.tar.gz
Add const where viable.
Diffstat (limited to 'src/PerLine.cxx')
-rw-r--r--src/PerLine.cxx2
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) {