filter: compile fulltext index on mobile

The code is not used yet.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-02-18 16:25:01 +01:00 committed by Dirk Hohndel
parent 2c038a24b0
commit 5bbc0fdb58
7 changed files with 8 additions and 20 deletions

View file

@ -7,8 +7,6 @@
#include <QLocale>
#include <map>
#ifndef SUBSURFACE_MOBILE
// This class caches each dives words, so that we can unregister a dive from the full text search
struct full_text_cache {
std::vector<QString> words;
@ -287,5 +285,3 @@ bool FullTextResult::dive_matches(const struct dive *d) const
{
return std::find(dives.begin(), dives.end(), d) != dives.end();
}
#endif