aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/line_accumulator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line_accumulator.cc b/src/line_accumulator.cc
index 4398c50..9ce389b 100644
--- a/src/line_accumulator.cc
+++ b/src/line_accumulator.cc
@@ -149,7 +149,7 @@ void LineAccumulator::justify() {
std::for_each(
indizes.begin(),
indizes.begin() + this->getMissing(),
- [&](std::uint8_t x) {
+ [&](const std::uint8_t x) {
this->tokens_[x].second += 1;
this->length_ += 1;
}