aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-19 09:04:39 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-19 09:04:39 +1100
commit79299db113ee3a2390235cf2d81b949076d6a4ad (patch)
tree2af773be549b1e504b4ecbb66da01adca6225a3d /src/Editor.h
parent74587b14dd74f30069151c3841b7a127bbdcc094 (diff)
downloadscintilla-mirror-79299db113ee3a2390235cf2d81b949076d6a4ad.tar.gz
Make destructors public to avoid warnings.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index eb921541f..c5bddb1e0 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -260,7 +260,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
Editor(Editor &&) = delete;
Editor &operator=(const Editor &) = delete;
Editor &operator=(Editor &&) = delete;
- ~Editor() override;
+ // ~Editor() in public section
virtual void Initialise() = 0;
virtual void Finalise();
@@ -599,6 +599,8 @@ protected: // ScintillaBase subclass needs access to much of Editor
static sptr_t BytesResult(sptr_t lParam, const unsigned char *val, size_t len) noexcept;
public:
+ ~Editor() override;
+
// Public so the COM thunks can access it.
bool IsUnicodeMode() const noexcept;
// Public so scintilla_send_message can use it.