aboutsummaryrefslogtreecommitdiff
path: root/src/scintilla_backports/6173_c9dcde8a91d3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/scintilla_backports/6173_c9dcde8a91d3.patch')
-rw-r--r--src/scintilla_backports/6173_c9dcde8a91d3.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/scintilla_backports/6173_c9dcde8a91d3.patch b/src/scintilla_backports/6173_c9dcde8a91d3.patch
new file mode 100644
index 00000000..bd605934
--- /dev/null
+++ b/src/scintilla_backports/6173_c9dcde8a91d3.patch
@@ -0,0 +1,23 @@
+# HG changeset patch
+# User Neil <nyamatongwe@gmail.com>
+# Date 1491552139 -36000
+# Node ID c9dcde8a91d3c5d9f28ba3a7cead581ff880e818
+# Parent 84161436cfbc309da3b30e6fe5bc69c0a9331cfa
+Drop "virtual" from methods that do not need to be virtual.
+
+diff -r 84161436cfbc -r c9dcde8a91d3 src/Decoration.h
+--- a/src/Decoration.h Fri Apr 07 17:28:01 2017 +1000
++++ b/src/Decoration.h Fri Apr 07 18:02:19 2017 +1000
+@@ -66,10 +66,10 @@
+ int Start(int indicator, int position);
+ int End(int indicator, int position);
+
+- virtual bool ClickNotified() const {
++ bool ClickNotified() const {
+ return clickNotified;
+ }
+- virtual void SetClickNotified(bool notified) {
++ void SetClickNotified(bool notified) {
+ clickNotified = notified;
+ }
+ };