From 77d00274b4e729ba5eac3cda390d6aa9478567ca Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 30 Jan 2024 10:11:10 +1100 Subject: Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation, and unnamed namespace. --- test/unit/testCharacterCategoryMap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/testCharacterCategoryMap.cxx') diff --git a/test/unit/testCharacterCategoryMap.cxx b/test/unit/testCharacterCategoryMap.cxx index 8c5305cc7..cdc810b02 100644 --- a/test/unit/testCharacterCategoryMap.cxx +++ b/test/unit/testCharacterCategoryMap.cxx @@ -24,7 +24,7 @@ using namespace Scintilla::Internal; TEST_CASE("CharacterCategoryMap") { - CharacterCategoryMap ccm; + const CharacterCategoryMap ccm; SECTION("LowerCaseLetter") { const CharacterCategory cc = ccm.CategoryFor('a'); -- cgit v1.2.3