aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testCharacterCategoryMap.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-01-30 10:11:10 +1100
committerNeil <nyamatongwe@gmail.com>2024-01-30 10:11:10 +1100
commit77d00274b4e729ba5eac3cda390d6aa9478567ca (patch)
tree01744884872093ea9406a206e554f9d569a3b0d2 /test/unit/testCharacterCategoryMap.cxx
parent72689db0d549c0cb850012546c71117ea74c2f2c (diff)
downloadscintilla-mirror-77d00274b4e729ba5eac3cda390d6aa9478567ca.tar.gz
Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,
and unnamed namespace.
Diffstat (limited to 'test/unit/testCharacterCategoryMap.cxx')
-rw-r--r--test/unit/testCharacterCategoryMap.cxx2
1 files changed, 1 insertions, 1 deletions
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');