Fix refptr build warnings
This commit is contained in:
parent
acfb883f66
commit
d1b558a554
@ -8,12 +8,12 @@ template <typename T>
|
|||||||
class refptr
|
class refptr
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
refptr<T>();
|
refptr();
|
||||||
refptr<T>(T * ptr);
|
refptr(T * ptr);
|
||||||
refptr<T>(const refptr<T> & orig);
|
refptr(const refptr<T> & orig);
|
||||||
refptr<T> & operator=(const refptr<T> & orig);
|
refptr & operator=(const refptr<T> & orig);
|
||||||
refptr<T> & operator=(T * ptr);
|
refptr & operator=(T * ptr);
|
||||||
~refptr<T>();
|
~refptr();
|
||||||
T & operator*() const;
|
T & operator*() const;
|
||||||
T * operator->() const;
|
T * operator->() const;
|
||||||
bool isNull() const { return m_ptr == NULL; }
|
bool isNull() const { return m_ptr == NULL; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user