diff options
author | Neil <nyamatongwe@gmail.com> | 2021-08-31 08:21:38 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-08-31 08:21:38 +1000 |
commit | 17113ca41a020a6c37d3bd859201bf716b3c6b7a (patch) | |
tree | 28a0ea64abf513def8987bc033040bebdd05b8d7 /src/AutoComplete.cxx | |
parent | 808b30f6d4b7acb5c9b8b649f315e972df5a8cff (diff) | |
download | scintilla-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.cxx | 2 |
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(); |