Switch to unified view

a/src/query/docseq.cpp b/src/query/docseq.cpp
...
...
80
        LOGERR("DocSource::buildStack: setfiltspec failed\n" );
80
        LOGERR("DocSource::buildStack: setfiltspec failed\n" );
81
    }
81
    }
82
    } else {
82
    } else {
83
    if (m_fspec.isNotNull()) {
83
    if (m_fspec.isNotNull()) {
84
        m_seq = 
84
        m_seq = 
85
        STD_SHARED_PTR<DocSequence>(new DocSeqFiltered(m_config, m_seq, m_fspec));
85
        std::shared_ptr<DocSequence>(new DocSeqFiltered(m_config, m_seq, m_fspec));
86
    } 
86
    } 
87
    }
87
    }
88
    
88
    
89
    if (m_seq->canSort()) {
89
    if (m_seq->canSort()) {
90
    if (!m_seq->setSortSpec(m_sspec)) {
90
    if (!m_seq->setSortSpec(m_sspec)) {
91
        LOGERR("DocSource::buildStack: setsortspec failed\n" );
91
        LOGERR("DocSource::buildStack: setsortspec failed\n" );
92
    }
92
    }
93
    } else {
93
    } else {
94
    if (m_sspec.isNotNull()) {
94
    if (m_sspec.isNotNull()) {
95
        m_seq = STD_SHARED_PTR<DocSequence>(new DocSeqSorted(m_seq, m_sspec));
95
        m_seq = std::shared_ptr<DocSequence>(new DocSeqSorted(m_seq, m_sspec));
96
    }
96
    }
97
    }
97
    }
98
    return true;
98
    return true;
99
}
99
}
100
100