Switch to unified view

a/src/query/sortseq.h b/src/query/sortseq.h
...
...
18
#define _SORTSEQ_H_INCLUDED_
18
#define _SORTSEQ_H_INCLUDED_
19
#include "autoconfig.h"
19
#include "autoconfig.h"
20
20
21
#include <vector>
21
#include <vector>
22
#include <string>
22
#include <string>
23
#include MEMORY_INCLUDE
23
#include <memory>
24
24
25
#include "docseq.h"
25
#include "docseq.h"
26
26
27
/** 
27
/** 
28
 * A sorted sequence is created from the first N documents of another one, 
28
 * A sorted sequence is created from the first N documents of another one, 
29
 * and sorts them according to the given criteria.
29
 * and sorts them according to the given criteria.
30
 */
30
 */
31
class DocSeqSorted : public DocSeqModifier {
31
class DocSeqSorted : public DocSeqModifier {
32
 public:
32
 public:
33
    DocSeqSorted(STD_SHARED_PTR<DocSequence> iseq, DocSeqSortSpec &sortspec)
33
    DocSeqSorted(std::shared_ptr<DocSequence> iseq, DocSeqSortSpec &sortspec)
34
    :  DocSeqModifier(iseq)
34
    :  DocSeqModifier(iseq)
35
    {
35
    {
36
    setSortSpec(sortspec);
36
    setSortSpec(sortspec);
37
    }
37
    }
38
    virtual ~DocSeqSorted() {}
38
    virtual ~DocSeqSorted() {}