diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-01-14 09:22:02 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-01-14 13:21:21 +0100 |
commit | af343d6bc40cf97007632247c1af662a4587f155 (patch) | |
tree | 08c2590cb6f095826399afb43142a2ee5ace7a12 /include/comphelper | |
parent | feb6a4b2c52edcf1da198c98e96fb11fe88deb66 (diff) |
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/stl_types.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; }); }; |