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
commitf8875aa1cf738fe2e2cdfc29ffc346b51ea1ec1c (patch)
tree160d9d1fe131e0a39b779bedec552f4d3f2f7702 /src/Partitioning.h
parentba3b2d185d77289a760bfd513611dec4f1b5e564 (diff)
downloadscintilla-mirror-f8875aa1cf738fe2e2cdfc29ffc346b51ea1ec1c.tar.gz
Use noexcept and const where reasonable.
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 608a3a58c..11c64bc83 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) {