Switch to side-by-side view
--- a/src/query/sortseq.h +++ b/src/query/sortseq.h @@ -30,8 +30,11 @@ */ class DocSeqSorted : public DocSeqModifier { public: - DocSeqSorted(RefCntr<DocSequence> iseq, DocSeqSortSpec &sortspec, - const std::string &t); + DocSeqSorted(RefCntr<DocSequence> iseq, DocSeqSortSpec &sortspec) + : DocSeqModifier(iseq) + { + setSortSpec(sortspec); + } virtual ~DocSeqSorted() {} virtual bool canSort() {return true;} virtual bool setSortSpec(DocSeqSortSpec &sortspec);