Get recoll to compile with clang (on freebsd) and eliminate warnings. You can no build recoll with make CXX=clang LINK=clang
This commit is contained in:
@@ -54,7 +54,7 @@ DocSeqFiltered::DocSeqFiltered(RclConfig *conf, RefCntr<DocSequence> iseq,
|
||||
setFiltSpec(filtspec);
|
||||
}
|
||||
|
||||
bool DocSeqFiltered::setFiltSpec(DocSeqFiltSpec &filtspec)
|
||||
bool DocSeqFiltered::setFiltSpec(const DocSeqFiltSpec &filtspec)
|
||||
{
|
||||
LOGDEB0(("DocSeqFiltered::setFiltSpec\n"));
|
||||
for (unsigned int i = 0; i < filtspec.crits.size(); i++) {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public:
|
||||
DocSeqFiltSpec &filtspec);
|
||||
virtual ~DocSeqFiltered() {}
|
||||
virtual bool canFilter() {return true;}
|
||||
virtual bool setFiltSpec(DocSeqFiltSpec &filtspec);
|
||||
virtual bool setFiltSpec(const DocSeqFiltSpec &filtspec);
|
||||
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
||||
virtual int getResCnt() {return m_seq->getResCnt();}
|
||||
private:
|
||||
|
||||
@@ -26,7 +26,7 @@ using std::vector;
|
||||
|
||||
class RclConfig;
|
||||
class PlainToRich;
|
||||
class HiliteData;
|
||||
struct HiliteData;
|
||||
|
||||
/**
|
||||
* Manage a paged HTML result list.
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
bool DocSeqSorted::setSortSpec(DocSeqSortSpec &sortspec)
|
||||
bool DocSeqSorted::setSortSpec(const DocSeqSortSpec &sortspec)
|
||||
{
|
||||
LOGDEB(("DocSeqSorted::setSortSpec\n"));
|
||||
m_spec = sortspec;
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ class DocSeqSorted : public DocSeqModifier {
|
||||
}
|
||||
virtual ~DocSeqSorted() {}
|
||||
virtual bool canSort() {return true;}
|
||||
virtual bool setSortSpec(DocSeqSortSpec &sortspec);
|
||||
virtual bool setSortSpec(const DocSeqSortSpec &sortspec);
|
||||
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
||||
virtual int getResCnt() {return m_docsp.size();}
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user