diff options
author | Neil <nyamatongwe@gmail.com> | 2024-01-30 10:11:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-01-30 10:11:10 +1100 |
commit | 77d00274b4e729ba5eac3cda390d6aa9478567ca (patch) | |
tree | 01744884872093ea9406a206e554f9d569a3b0d2 /test/unit/testPerLine.cxx | |
parent | 72689db0d549c0cb850012546c71117ea74c2f2c (diff) | |
download | scintilla-mirror-77d00274b4e729ba5eac3cda390d6aa9478567ca.tar.gz |
Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,
and unnamed namespace.
Diffstat (limited to 'test/unit/testPerLine.cxx')
-rw-r--r-- | test/unit/testPerLine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testPerLine.cxx b/test/unit/testPerLine.cxx index d9cf11ac6..47a60ce90 100644 --- a/test/unit/testPerLine.cxx +++ b/test/unit/testPerLine.cxx @@ -41,13 +41,13 @@ TEST_CASE("CompileCopying MarkerHandleSet") { MarkerHandleSet s2; // Copy constructor - MarkerHandleSet sa(s); + const MarkerHandleSet sa(s); // Copy assignment MarkerHandleSet sb; sb = s; // Move constructor - MarkerHandleSet sc(std::move(s)); + const MarkerHandleSet sc(std::move(s)); // Move assignment MarkerHandleSet sd; sd = (std::move(s2)); |