From 32e79e479fab13b0b215fc479c1a558d989e1b36 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 3 Apr 2007 20:25:57 +0000 Subject: Hey, it's nicer with const-ness. --- src/sptr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sptr.h b/src/sptr.h index deae94d..23c21dc 100644 --- a/src/sptr.h +++ b/src/sptr.h @@ -65,12 +65,12 @@ public: return pData == src.pData; } - operator bool() + operator bool() const { return pRefCnt != NULL; } - bool isSet() + bool isSet() const { return pRefCnt != NULL; } -- cgit v1.2.3