diff options
Diffstat (limited to '')
-rw-r--r-- | src/sptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,12 +65,12 @@ public: | |||
65 | return pData == src.pData; | 65 | return pData == src.pData; |
66 | } | 66 | } |
67 | 67 | ||
68 | operator bool() | 68 | operator bool() const |
69 | { | 69 | { |
70 | return pRefCnt != NULL; | 70 | return pRefCnt != NULL; |
71 | } | 71 | } |
72 | 72 | ||
73 | bool isSet() | 73 | bool isSet() const |
74 | { | 74 | { |
75 | return pRefCnt != NULL; | 75 | return pRefCnt != NULL; |
76 | } | 76 | } |