diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/PlatCocoa.h | 2 | ||||
-rw-r--r-- | cocoa/PlatCocoa.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 4d006b1ff..0117fcc15 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -78,7 +78,7 @@ public: void InitPixMap(int width, int height, Surface *surface_, WindowID wid) override; CGContextRef GetContext() { return gc; } - void Release() override; + void Release() noexcept override; bool Initialised() override; void PenColour(ColourDesired fore) override; diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 4eb3bfd1b..2f8778d11 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -365,7 +365,7 @@ void SurfaceImpl::Clear() { //-------------------------------------------------------------------------------------------------- -void SurfaceImpl::Release() { +void SurfaceImpl::Release() noexcept { Clear(); } |