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 | 9f1fb22f074a8b7d5c97f8a8c5894927f5bb01d1 (patch) | |
tree | ecf1814eba064c5c8fbfefab21fd6226315f941f /src/Document.h | |
parent | 5a72039e1a39c200b50f134e4917d216ea68fb48 (diff) | |
download | scintilla-mirror-9f1fb22f074a8b7d5c97f8a8c5894927f5bb01d1.tar.gz |
Make EncodingFamily an enum class for more type safety.
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 37c37c4b8..ce0178695 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. |