aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-15 16:47:52 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-15 16:47:52 +1000
commitfaf57f45eae60a257a8076c83c71c422486f88ce (patch)
treebae925421b4048bc7de7784e38d73b9960e85553 /cocoa/ScintillaCocoa.mm
parent75dba090f235fc4d24691bd1b57928f89ebe9f1b (diff)
downloadscintilla-mirror-faf57f45eae60a257a8076c83c71c422486f88ce.tar.gz
Avoid calling virtual functions in constructors and destructors.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index abbfd85dd..d15a34990 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -422,7 +422,7 @@ ScintillaCocoa::ScintillaCocoa(ScintillaView* sciView_, SCIContentView* viewCont
{
timers[tr] = nil;
}
- Initialise();
+ Init();
}
//--------------------------------------------------------------------------------------------------
@@ -439,7 +439,7 @@ ScintillaCocoa::~ScintillaCocoa()
/**
* Core initialization of the control. Everything that needs to be set up happens here.
*/
-void ScintillaCocoa::Initialise()
+void ScintillaCocoa::Init()
{
Scintilla_LinkLexers();