summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-12-13 07:31:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-13 07:12:12 -0500
commit474fc72e32f78d55ca8bc795e0d257813c7c4b8a (patch)
tree6872a1c1f71d9f2e5bd1cd41f0613cf83b8d615b /cmake
parentbf7954ebe7fa7c1f9c7ca77655f35500ffb057fb (diff)
downloadsubsurface-474fc72e32f78d55ca8bc795e0d257813c7c4b8a.tar.gz
Coding style: use std::equal_to instead of lambda
Use std::equal_to instead of lambdas that compare two dive pointers. One could argue over which version is more readable. For whatever it's worth, std::equal_to is more compact and expressive. This removes an old erroneous comment that stated that std::equal_to is only available since C++14. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions