summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-19 09:59:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-19 13:59:24 -0800
commit8fa156eb0d2364f9dc17ac80805408f62343799d (patch)
tree3dfd58e7f768a025a9fbe0fca530678c01008c61 /desktop-widgets/downloadfromdivecomputer.cpp
parentf67f07223f93d18353ff7e0621af6b05269c33be (diff)
downloadsubsurface-8fa156eb0d2364f9dc17ac80805408f62343799d.tar.gz
Filter: make tags, people and location filter logically-and
If the user provides multiple tags, they probably want to search for dive with *all* of these tags. Replace the convoluted loops by std::all_of(). This makes it trivial to change logically-and to logically-or: Replace std::all_of() by std::any_of(). Reported-by: Jan Mulder <jlmulder@xs4all.nl> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
0 files changed, 0 insertions, 0 deletions