Dead code tells no tales
This commit is contained in:
parent
37da8155a4
commit
7ad14e7a3e
215 changed files with 153 additions and 56138 deletions
|
|
@ -59,21 +59,6 @@ public:
|
|||
~Reference();
|
||||
};
|
||||
|
||||
#if 0
|
||||
class RefBase {
|
||||
protected:
|
||||
void ref_inc(Reference *p_reference);
|
||||
bool ref_dec(Reference *p_reference);
|
||||
Reference *first_ref(Reference *p_reference);
|
||||
Reference * get_reference_from_ref(const RefBase &p_base);
|
||||
virtual Reference * get_reference() const=0;
|
||||
char * get_refptr_data(const RefPtr &p_refptr) const;
|
||||
public:
|
||||
|
||||
virtual ~RefBase() {}
|
||||
};
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
class Ref {
|
||||
|
||||
|
|
@ -151,20 +136,10 @@ public:
|
|||
return refptr;
|
||||
};
|
||||
|
||||
#if 0
|
||||
// go to RefPtr
|
||||
operator RefPtr() const {
|
||||
|
||||
return get_ref_ptr();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
operator Variant() const {
|
||||
|
||||
return Variant(get_ref_ptr());
|
||||
}
|
||||
#endif
|
||||
|
||||
void operator=(const Ref &p_from) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue