aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-08-22 22:14:34 +1000
committerNeil <nyamatongwe@gmail.com>2021-08-22 22:14:34 +1000
commitafbd611bed7f27d0790fc19b18318e3ef213dfd8 (patch)
tree25f2007712e60e5062de4b007bf78c90f239d88c /src/Document.h
parent6f709917a1134aaf55fc83d8a9f18a30b50efd89 (diff)
downloadscintilla-mirror-afbd611bed7f27d0790fc19b18318e3ef213dfd8.tar.gz
Follow rule-of-zero / rule-of-5 where reasonable by removing standard operators
that are not needed.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index e2962b4a3..402f37c17 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -90,7 +90,7 @@ public:
*/
class RegexSearchBase {
public:
- virtual ~RegexSearchBase() {}
+ virtual ~RegexSearchBase() = default;
virtual Sci::Position FindText(Document *doc, Sci::Position minPos, Sci::Position maxPos, const char *s,
bool caseSensitive, bool word, bool wordStart, Scintilla::FindOption flags, Sci::Position *length) = 0;