aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-09-30 14:39:32 +1000
committerZufu Liu <unknown>2021-09-30 14:39:32 +1000
commita4260678cb381e5fc9264b005d9013555e9f2a68 (patch)
tree145688eeef89e6bc085ac6dfbcb7e34b853ab0c6 /src/PositionCache.cxx
parentf0d7f6fbc880ed1b5db8fc9fc52bc7cd99d209a6 (diff)
downloadscintilla-mirror-a4260678cb381e5fc9264b005d9013555e9f2a68.tar.gz
Feature [feature-requests:#1416] Mark destructor as noexcept and use default
implementation.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index 63e130429..e94721ff5 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -713,8 +713,7 @@ BreakFinder::BreakFinder(const LineLayout *ll_, const Selection *psel, Range lin
saeNext = (!selAndEdge.empty()) ? selAndEdge[0] : -1;
}
-BreakFinder::~BreakFinder() {
-}
+BreakFinder::~BreakFinder() noexcept = default;
TextSegment BreakFinder::Next() {
if (subBreak == -1) {