aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-04-03 20:25:57 +0000
committerMike Buland <eichlan@xagasoft.com>2007-04-03 20:25:57 +0000
commit32e79e479fab13b0b215fc479c1a558d989e1b36 (patch)
tree9e6e3d3eb9778786770105a9c8ecb032d5d3b760
parentc613ec4abb31983babb6c87e637624a13ee60bd6 (diff)
downloadlibbu++-32e79e479fab13b0b215fc479c1a558d989e1b36.tar.gz
libbu++-32e79e479fab13b0b215fc479c1a558d989e1b36.tar.bz2
libbu++-32e79e479fab13b0b215fc479c1a558d989e1b36.tar.xz
libbu++-32e79e479fab13b0b215fc479c1a558d989e1b36.zip
Hey, it's nicer with const-ness.
Diffstat (limited to '')
-rw-r--r--src/sptr.h4
1 files 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:
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 }