diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-15 13:46:42 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-15 13:46:42 +1000 |
commit | 699d75f881ad79e98f9400eeb4a7f86a749b1521 (patch) | |
tree | 24af01d6dce086e8f26cde2e57bc705d75387a43 /cocoa/PlatCocoa.h | |
parent | 9f2ab7100c117a73d562f81eb590f32f4641cf54 (diff) | |
download | scintilla-mirror-699d75f881ad79e98f9400eeb4a7f86a749b1521.tar.gz |
Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 8a47e7302..d6f2bf449 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -63,6 +63,9 @@ private: static const int BITS_PER_COMPONENT = 8; static const int BITS_PER_PIXEL = BITS_PER_COMPONENT * 4; static const int BYTES_PER_PIXEL = BITS_PER_PIXEL / 8; + + void Clear(); + public: SurfaceImpl(); ~SurfaceImpl() override; |