diff options
author | Neil <nyamatongwe@gmail.com> | 2022-08-13 18:12:55 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-08-13 18:12:55 +1000 |
commit | 7d2f6bd5280613538c4beafac26a39348992d103 (patch) | |
tree | 3da3b4dc503778ef6ce45da0477bcfdafd127160 /src/EditModel.h | |
parent | 059594717cb36423733a0fbdee316f436d2e49a0 (diff) | |
download | scintilla-mirror-7d2f6bd5280613538c4beafac26a39348992d103.tar.gz |
Reduce warnings with noexcept, fewer casts, and other minor changes.
Diffstat (limited to 'src/EditModel.h')
-rw-r--r-- | src/EditModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditModel.h b/src/EditModel.h index d86f41250..f62c28b1f 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -63,7 +63,7 @@ public: EditModel &operator=(const EditModel &) = delete; EditModel &operator=(EditModel &&) = delete; virtual ~EditModel(); - virtual Sci::Line TopLineOfMain() const = 0; + virtual Sci::Line TopLineOfMain() const noexcept = 0; virtual Point GetVisibleOriginInMain() const = 0; virtual Sci::Line LinesOnScreen() const = 0; bool BidirectionalEnabled() const noexcept; |