aboutsummaryrefslogtreecommitdiffstats
path: root/core/fulltext.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-18 16:25:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-01 10:21:44 -0800
commit5bbc0fdb586547fa1db887e82ff6556febbabc43 (patch)
tree845552cd10fc9448d1d2f7364c00f3465bb177dd /core/fulltext.cpp
parent2c038a24b0931670f94c991a239223fc57ff85f4 (diff)
downloadsubsurface-5bbc0fdb586547fa1db887e82ff6556febbabc43.tar.gz
filter: compile fulltext index on mobile
The code is not used yet. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/fulltext.cpp')
-rw-r--r--core/fulltext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fulltext.cpp b/core/fulltext.cpp
index 5ed0c9a17..2d7af752c 100644
--- a/core/fulltext.cpp
+++ b/core/fulltext.cpp
@@ -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