aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Partitioning.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-02 09:06:59 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-02 09:06:59 +1100
commitc8d7f8df7318a9eeba2e49994618eff0f225494d (patch)
tree9e80bec9e49481bfa532b83e8f4fb9a2a30f1586 /src/Partitioning.h
parentcf150e2082ff95d8da6f8f74e1d15e1b33ab2e19 (diff)
downloadscintilla-mirror-c8d7f8df7318a9eeba2e49994618eff0f225494d.tar.gz
Backport: Use noexcept and const where reasonable.
Backport of changeset 7781:a9b7308f0522.
Diffstat (limited to 'src/Partitioning.h')
-rw-r--r--src/Partitioning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Partitioning.h b/src/Partitioning.h
index e742952ab..06dc88ade 100644
--- a/src/Partitioning.h
+++ b/src/Partitioning.h
@@ -130,7 +130,7 @@ public:
body->SetValueAt(partition, pos);
}
- void InsertText(T partitionInsert, T delta) {
+ void InsertText(T partitionInsert, T delta) noexcept {
// Point all the partitions after the insertion point further along in the buffer
if (stepLength != 0) {
if (partitionInsert >= stepPartition) {