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