From f8875aa1cf738fe2e2cdfc29ffc346b51ea1ec1c Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 2 Dec 2019 09:06:59 +1100 Subject: Use noexcept and const where reasonable. --- src/Partitioning.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Partitioning.h') 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) { -- cgit v1.2.3