summaryrefslogtreecommitdiff
path: root/indra/llcommon/llapr.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-11-13 10:50:16 -0500
committerOz Linden <oz@lindenlab.com>2012-11-13 10:50:16 -0500
commit7e779a29c142feaa34a30dff39b72d0ae7c0fdc3 (patch)
tree401447b5d265520c12de5c4929f0e72468882b68 /indra/llcommon/llapr.h
parent42c957e9d823ee5124fa1ac992fc0e803a3b0d9a (diff)
parent7cef2e02565977d3894dbd7c9bde91fb39d9066a (diff)
merge changes for DRTVWR-209
Diffstat (limited to 'indra/llcommon/llapr.h')
-rw-r--r--indra/llcommon/llapr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h
index af33ce666f..034546c3f3 100644
--- a/indra/llcommon/llapr.h
+++ b/indra/llcommon/llapr.h
@@ -168,7 +168,7 @@ public:
void operator -=(Type x) { apr_atomic_sub32(&mData, apr_uint32_t(x)); }
void operator +=(Type x) { apr_atomic_add32(&mData, apr_uint32_t(x)); }
Type operator ++(int) { return apr_atomic_inc32(&mData); } // Type++
- Type operator --(int) { return apr_atomic_dec32(&mData); } // Type--
+ Type operator --(int) { return apr_atomic_dec32(&mData); } // approximately --Type (0 if final is 0, non-zero otherwise)
private:
apr_uint32_t mData;