From c8d7f8df7318a9eeba2e49994618eff0f225494d Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 2 Dec 2019 09:06:59 +1100 Subject: Backport: Use noexcept and const where reasonable. Backport of changeset 7781:a9b7308f0522. --- 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 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) { -- cgit v1.2.3