diff options
author | Neil <nyamatongwe@gmail.com> | 2025-02-23 11:05:23 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-02-23 11:05:23 +1100 |
commit | 47b91df0cadb92f0dbaae441926448308b450ea1 (patch) | |
tree | 40082e6f83516ddf14ffdefc0760350f7dfce707 /test/unit/testSelection.cxx | |
parent | 6ae5e45a7a09ba2c83477abe3835f274a0b032e6 (diff) | |
download | scintilla-mirror-47b91df0cadb92f0dbaae441926448308b450ea1.tar.gz |
Silence some warnings in test code.rel-5-5-5
Diffstat (limited to 'test/unit/testSelection.cxx')
-rw-r--r-- | test/unit/testSelection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testSelection.cxx b/test/unit/testSelection.cxx index d708607d2..609feaf00 100644 --- a/test/unit/testSelection.cxx +++ b/test/unit/testSelection.cxx @@ -135,7 +135,7 @@ TEST_CASE("SelectionPosition") { TEST_CASE("SelectionSegment") { SECTION("SelectionSegment") { - SelectionSegment ss; + const SelectionSegment ss; REQUIRE(ss.start == invalid); REQUIRE(ss.end == invalid); } @@ -145,7 +145,7 @@ TEST_CASE("SelectionSegment") { TEST_CASE("SelectionRange") { SECTION("SelectionRange") { - SelectionRange sr; + const SelectionRange sr; REQUIRE(sr.anchor == invalid); REQUIRE(sr.caret == invalid); } |