aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.cxx
diff options
context:
space:
mode:
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) {