aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-03 16:22:41 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-03 16:22:41 +1100
commit5c09372e24c4656dc0e40bba890eef539d0b8ad2 (patch)
treeeb1ffb85392e4f23ef14197d93f87acfbfc9e6c2 /src/Document.h
parent93d87606364468124d9f4072375c82d03c3e5130 (diff)
downloadscintilla-mirror-5c09372e24c4656dc0e40bba890eef539d0b8ad2.tar.gz
Use constexpr where reasonable and move groups of static functions into unnamed
namespace.
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 3eeeef029..de986ce2a 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -164,7 +164,7 @@ public:
bool isEnabled;
};
-inline int LevelNumber(int level) noexcept {
+constexpr int LevelNumber(int level) noexcept {
return level & SC_FOLDLEVELNUMBERMASK;
}