aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-03 15:35:54 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-03 15:35:54 +1100
commite55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2 (patch)
tree0e16ee5421bb805ee7f330442c761d1332db8fee /src/Document.cxx
parentcb1710ea96ba303fcf62be5911c54137238906ce (diff)
downloadscintilla-mirror-e55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2.tar.gz
Use noexcept where reasonable.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index 711f314e4..0f71ba843 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -473,7 +473,7 @@ void Document::ClearLevels() {
Levels()->ClearLevels();
}
-static bool IsSubordinate(int levelStart, int levelTry) {
+static bool IsSubordinate(int levelStart, int levelTry) noexcept {
if (levelTry & SC_FOLDLEVELWHITEFLAG)
return true;
else