use const rclconfig
This commit is contained in:
parent
fe6664faa9
commit
30516ceb52
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ void SearchData::commoninit()
|
|||
// which could be searched by file name. It would probably be
|
||||
// preferable to do a termMatch() on field "mtype", which would
|
||||
// retrieve all values from the index.
|
||||
bool SearchData::expandFileTypes(RclConfig *cfg, vector<string>& tps)
|
||||
bool SearchData::expandFileTypes(const RclConfig *cfg, vector<string>& tps)
|
||||
{
|
||||
if (!cfg) {
|
||||
LOGFATAL(("Db::expandFileTypes: null configuration!!\n"));
|
||||
|
|
|
@ -222,7 +222,7 @@ private:
|
|||
// value during "find-as-you-type" operations from the GUI
|
||||
int m_softmaxexpand;
|
||||
|
||||
bool expandFileTypes(RclConfig *cfg, std::vector<std::string>& exptps);
|
||||
bool expandFileTypes(const RclConfig *cfg, std::vector<std::string>& exptps);
|
||||
bool clausesToQuery(Rcl::Db &db, SClType tp,
|
||||
std::vector<SearchDataClause*>& query,
|
||||
string& reason, void *d);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue