From 63e0fd2c6b10f4736f669e90f87baf39308afc34 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 19 Mar 2020 09:22:10 +1100 Subject: Minor improvements - noexcept, constexpr, cast removal. --- 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 90771c2ba..bf62f011d 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, std::string_view text, DrawPhase phase); -- cgit v1.2.3