From 17113ca41a020a6c37d3bd859201bf716b3c6b7a Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 31 Aug 2021 08:21:38 +1000 Subject: Make Cancel methods noexcept as they may need to be used in destructors. --- src/CallTip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CallTip.cxx') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 43afead55..9fb1b535c 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -313,7 +313,7 @@ PRectangle CallTip::CallTipStart(Sci::Position pos, Point pt, int textHeight, co } } -void CallTip::CallTipCancel() { +void CallTip::CallTipCancel() noexcept { inCallTipMode = false; if (wCallTip.Created()) { wCallTip.Destroy(); -- cgit v1.2.3