diff options
author | Brad King <brad.king@kitware.com> | 2023-08-08 13:18:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-08 13:39:05 (GMT) |
commit | 1b42365bb348eedd3d99a4a75bd9ac506850749e (patch) | |
tree | fd78e4dc5d420f4cd6363808c6cd06dedf52edcb /Tests | |
parent | ed0450ed8ae6dda69301dbd3be50b9c82e28827b (diff) | |
parent | ee5edf77dbb23470b5641b0973ac384a4e38848b (diff) | |
download | CMake-1b42365bb348eedd3d99a4a75bd9ac506850749e.zip CMake-1b42365bb348eedd3d99a4a75bd9ac506850749e.tar.gz CMake-1b42365bb348eedd3d99a4a75bd9ac506850749e.tar.bz2 |
Merge topic 'cmList-append-regression'
ee5edf77db Merge branch 'backport-3.27-cmList-append-regression' into cmList-append-regression
a9a34edc82 cmList: Fix performance regression in append/prepend
7f9f96151a cmList: Fix performance regression in append/prepend
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8684
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/testList.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/CMakeLib/testList.cxx b/Tests/CMakeLib/testList.cxx index 3e99ae8..8822806 100644 --- a/Tests/CMakeLib/testList.cxx +++ b/Tests/CMakeLib/testList.cxx @@ -858,7 +858,7 @@ bool testStaticModifiers() } { std::string list{ "a;b;c" }; - cmList::append(list, ""); + cmList::append(list, ""_s); if (list != "a;b;c;") { result = false; @@ -893,7 +893,7 @@ bool testStaticModifiers() } { std::string list{ "a;b;c" }; - cmList::prepend(list, "d;e"); + cmList::prepend(list, "d;e"_s); if (list != "d;e;a;b;c") { result = false; @@ -901,7 +901,7 @@ bool testStaticModifiers() } { std::string list; - cmList::prepend(list, "d;e"); + cmList::prepend(list, "d;e"_s); if (list != "d;e") { result = false; @@ -909,7 +909,7 @@ bool testStaticModifiers() } { std::string list{ "a;b;c" }; - cmList::prepend(list, ""); + cmList::prepend(list, ""_s); if (list != ";a;b;c") { result = false; |