aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index 8cdbb4f3d..7452a0f29 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -321,7 +321,7 @@ size_t ScreenLine::Length() const {
size_t ScreenLine::RepresentationCount() const {
return std::count_if(&ll->bidiData->widthReprs[start],
&ll->bidiData->widthReprs[start + len],
- [](XYPOSITION w) {return w > 0.0f; });
+ [](XYPOSITION w) noexcept { return w > 0.0f; });
}
XYPOSITION ScreenLine::Width() const {