Fix refptr build warnings

This commit is contained in:
Josh Holtrop 2026-06-15 08:21:50 -04:00
parent acfb883f66
commit d1b558a554

View File

@ -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; }