aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-18 23:31:59 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-18 23:31:59 +1100
commitb047c81396af14e5497d969b37b1df9d67d09d17 (patch)
tree4b7eab66346c57d36314e3fd7566a610c2dfc66e /gtk/PlatGTK.cxx
parent088336e91cb2771acd435bcd4646373420f62484 (diff)
downloadscintilla-mirror-b047c81396af14e5497d969b37b1df9d67d09d17.tar.gz
Make Surface::Release and callers (where possible) noexcept.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rwxr-xr-xgtk/PlatGTK.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 691872e5a..6aed67ba5 100755
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -150,7 +150,7 @@ public:
void InitPixMap(int width, int height, Surface *surface_, WindowID wid) override;
void Clear() noexcept;
- void Release() override;
+ void Release() noexcept override;
bool Initialised() override;
void PenColour(ColourDesired fore) override;
int LogPixelsY() override;
@@ -285,7 +285,7 @@ void SurfaceImpl::Clear() noexcept {
createdGC = false;
}
-void SurfaceImpl::Release() {
+void SurfaceImpl::Release() noexcept {
Clear();
}