diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-07-16 08:04:11 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-07-16 08:04:11 +1000 |
| commit | 500d0c61325b097df66f6a8f1981e71bf30ff139 (patch) | |
| tree | 47ae4426c33bce753d7a89c6b7e1806dfab3cef9 /src/Document.h | |
| parent | 4fee1c0972ef24589e6d872b5cf4ad91f192d8d8 (diff) | |
| download | scintilla-mirror-500d0c61325b097df66f6a8f1981e71bf30ff139.tar.gz | |
Backport: Make EncodingFamily an enum class for more type safety.
Backport of changeset 8408:e89f22691610.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 57dcd6e36..a31424739 100644 --- a/src/Document.h +++ b/src/Document.h @@ -18,7 +18,7 @@ class LineLevels; class LineState; class LineAnnotation; -enum EncodingFamily { efEightBit, efUnicode, efDBCS }; +enum class EncodingFamily { eightBit, unicode, dbcs }; /** * The range class represents a range of text in a document. |
