From dd9ba78cf763ece6c5e3762ca852cd87e5be7fa2 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 19 Mar 2020 09:22:10 +1100 Subject: Backport: Minor improvements - noexcept, constexpr, cast removal. Backport of changeset 8012:48f82fb06505. --- src/EditView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/EditView.h') diff --git a/src/EditView.h b/src/EditView.h index 3addfbab8..2a2ca84d3 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -33,7 +33,7 @@ enum DrawPhase { drawAll = 0x1FF }; -bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st); +bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st) noexcept; int WidestLineWidth(Surface *surface, const ViewStyle &vs, int styleOffset, const StyledText &st); void DrawTextNoClipPhase(Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase, const char *s, int len, DrawPhase phase); -- cgit v1.2.3