diff options
author | Neil <nyamatongwe@gmail.com> | 2024-02-14 20:51:23 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-02-14 20:51:23 +1100 |
commit | a6a2fe933e0103464c1a357f987ad10e3bcf6622 (patch) | |
tree | 48dfa85dce1d18329455f89320762d060421f366 /src/UndoHistory.h | |
parent | 4548491a4080ba8ca556a0740058a5b7e5dd4ee7 (diff) | |
download | scintilla-mirror-a6a2fe933e0103464c1a357f987ad10e3bcf6622.tar.gz |
Ensure no exceptions when deleting undo history.
Diffstat (limited to 'src/UndoHistory.h')
-rw-r--r-- | src/UndoHistory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UndoHistory.h b/src/UndoHistory.h index ab8c24250..1186a1e0e 100644 --- a/src/UndoHistory.h +++ b/src/UndoHistory.h @@ -59,6 +59,7 @@ class ScrapStack { std::string stack; size_t current = 0; public: + void Clear() noexcept; const char *Push(const char *text, size_t length); void SetCurrent(size_t position) noexcept; void MoveForward(size_t length) noexcept; |