Switch to unified view

a/src/utils/conftree.h b/src/utils/conftree.h
...
...
397
        return true;
397
        return true;
398
    }
398
    }
399
    return false;
399
    return false;
400
    }
400
    }
401
401
402
    virtual int get(const string &name, string &value, const string &sk) const
402
    virtual int get(const string &name, string &value, const string &sk,
403
                    bool shallow) const
403
    {
404
    {
404
    typename vector<T*>::const_iterator it;
405
    typename vector<T*>::const_iterator it;
405
    for (it = m_confs.begin();it != m_confs.end();it++) {
406
    for (it = m_confs.begin();it != m_confs.end();it++) {
406
        if ((*it)->get(name, value, sk))
407
        if ((*it)->get(name, value, sk))
407
        return true;
408
        return true;
409
            if (shallow)
410
                break;
408
    }
411
    }
409
    return false;
412
    return false;
413
    }
414
    virtual int get(const string &name, string &value, const string &sk) const {
415
        return get(name, value, sk, false);
410
    }
416
    }
411
417
412
    virtual bool hasNameAnywhere(const string& nm) const
418
    virtual bool hasNameAnywhere(const string& nm) const
413
    {
419
    {
414
    typename vector<T*>::const_iterator it;
420
    typename vector<T*>::const_iterator it;