From 6de6577e1c9f8fad2852abb3b850f563fb7a04c6 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Mon, 21 Jun 2021 13:35:09 +1000 Subject: Fix some warnings in unit tests. --- test/unit/testPartitioning.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/testPartitioning.cxx') diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx index e28ef318e..b2b7598d8 100644 --- a/test/unit/testPartitioning.cxx +++ b/test/unit/testPartitioning.cxx @@ -22,9 +22,9 @@ using namespace Scintilla::Internal; -const int growSize = 4; +constexpr int growSize = 4; -const int lengthTestArray = 8; +constexpr int lengthTestArray = 8; static const int testArray[lengthTestArray] = {3, 4, 5, 6, 7, 8, 9, 10}; // Test SplitVectorWithRangeAdd. -- cgit v1.2.3