Switch to unified view

a/src/utils/refcntr.h b/src/utils/refcntr.h
...
...
38
        delete rep; 
38
        delete rep; 
39
        delete pcount; 
39
        delete pcount; 
40
    }
40
    }
41
    }
41
    }
42
    X *operator->() {return rep;}
42
    X *operator->() {return rep;}
43
    X *getptr() const {return rep;}
44
    const X *getconstptr() const {return rep;}
43
    int getcnt() const {return pcount ? *pcount : 0;}
45
    int getcnt() const {return pcount ? *pcount : 0;}
44
    X *getptr() const {return rep;}
45
    bool isNull() const {return rep == 0;}
46
    bool isNull() const {return rep == 0;}
46
};
47
};
47
48
48
49
49
#endif /*_REFCNTR_H_ */
50
#endif /*_REFCNTR_H_ */