diff options
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index c375bffab..0288a430a 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -554,7 +554,7 @@ ColourRGBA ViewStyle::WrapColour() const { void ViewStyle::AddMultiEdge(int column, ColourRGBA colour) { theMultiEdge.insert( std::upper_bound(theMultiEdge.begin(), theMultiEdge.end(), column, - [](const EdgeProperties &a, const EdgeProperties &b) { + [](const EdgeProperties &a, const EdgeProperties &b) noexcept { return a.column < b.column; }), EdgeProperties(column, colour)); |