aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-08-31 08:21:38 +1000
committerNeil <nyamatongwe@gmail.com>2021-08-31 08:21:38 +1000
commit17113ca41a020a6c37d3bd859201bf716b3c6b7a (patch)
tree28a0ea64abf513def8987bc033040bebdd05b8d7 /src/AutoComplete.cxx
parent808b30f6d4b7acb5c9b8b649f315e972df5a8cff (diff)
downloadscintilla-mirror-17113ca41a020a6c37d3bd859201bf716b3c6b7a.tar.gz
Make Cancel methods noexcept as they may need to be used in destructors.
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r--src/AutoComplete.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index 51eb0f0ee..47e942561 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -211,7 +211,7 @@ void AutoComplete::Show(bool show) {
lb->Select(0);
}
-void AutoComplete::Cancel() {
+void AutoComplete::Cancel() noexcept {
if (lb->Created()) {
lb->Clear();
lb->Destroy();