From bbfd34adc0e800ae2feec487a3c407873bb289e3 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 24 May 2018 09:24:44 +1000 Subject: Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 3c21ee092..fb892bdcb 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -412,7 +412,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void DelCharBack(bool allowLineStartDeletion); virtual void ClaimSelection() = 0; - static int ModifierFlags(bool shift, bool ctrl, bool alt, bool meta=false, bool super=false); + static int ModifierFlags(bool shift, bool ctrl, bool alt, bool meta=false, bool super=false) noexcept; virtual void NotifyChange() = 0; virtual void NotifyFocus(bool focus); virtual void SetCtrlID(int identifier); -- cgit v1.2.3