From b047c81396af14e5497d969b37b1df9d67d09d17 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 18 Mar 2021 23:31:59 +1100 Subject: Make Surface::Release and callers (where possible) noexcept. --- gtk/PlatGTK.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk') 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(); } -- cgit v1.2.3