include/comphelper/stl_types.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit af343d6bc40cf97007632247c1af662a4587f155 Author: Mike Kaganski <[email protected]> AuthorDate: Thu Jan 14 09:22:02 2021 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Thu Jan 14 13:21:21 2021 +0100 Make lambda auto parameters explicitly const Change-Id: Ie8fe7738476f31ea3670987842f552782e9624da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109273 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx index 613644ad218a..983247a84713 100644 --- a/include/comphelper/stl_types.hxx +++ b/include/comphelper/stl_types.hxx @@ -84,7 +84,7 @@ bool ContainerUniquePtrEquals( { return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin(), - [](auto& p1, auto& p2) { return *p1 == *p2; }); + [](const auto& p1, const auto& p2) { return *p1 == *p2; }); }; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
