diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 2ad3e2f7b..aea7cac98 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -475,7 +475,7 @@ public: void Init(SurfaceID sid, WindowID wid) override; void InitPixMap(int width, int height, Surface *surface_, WindowID wid) override; - void Release() override; + void Release() noexcept override; bool Initialised() override; void PenColour(ColourDesired fore) override; int LogPixelsY() override; @@ -554,7 +554,7 @@ void SurfaceGDI::Clear() noexcept { } } -void SurfaceGDI::Release() { +void SurfaceGDI::Release() noexcept { Clear(); } @@ -1150,7 +1150,7 @@ public: void Init(SurfaceID sid, WindowID wid) override; void InitPixMap(int width, int height, Surface *surface_, WindowID wid) override; - void Release() override; + void Release() noexcept override; bool Initialised() override; HRESULT FlushDrawing(); @@ -1239,7 +1239,7 @@ void SurfaceD2D::Clear() noexcept { pBitmapRenderTarget = nullptr; } -void SurfaceD2D::Release() { +void SurfaceD2D::Release() noexcept { Clear(); } |