diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-19 10:40:48 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-19 10:40:48 +1100 |
commit | 25aca885085525118aec6fee7c1ff49442d90582 (patch) | |
tree | 8bcc546855b4f80a92bd9b7f9912c5b907310c26 /src/Selection.h | |
parent | 4c086ac7bebe13bcd2146f4e2cebc40510a7223c (diff) | |
download | scintilla-mirror-25aca885085525118aec6fee7c1ff49442d90582.tar.gz |
Switch enum to enum class.
Diffstat (limited to 'src/Selection.h')
-rw-r--r-- | src/Selection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Selection.h b/src/Selection.h index c5c7993cf..1ad4fa7c0 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -141,8 +141,8 @@ class Selection { bool moveExtends; bool tentativeMain; public: - enum selTypes { noSel, selStream, selRectangle, selLines, selThin }; - selTypes selType; + enum class SelTypes { none, stream, rectangle, lines, thin }; + SelTypes selType; Selection(); ~Selection(); |