mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2c038a24b0
commit
5bbc0fdb58
7 changed files with 8 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue