summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2014-11-21 16:37:08 +0100
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2014-11-21 16:37:08 +0100
commit945748c19b966fff297d9a7a1e2dfda3b0a80754 (patch)
treee1ec0249d0df7aee2f22b11e484a948fae2b0092 /include
parent578fc01d0e6ba0be7818ad2d2533aa3a2dde3ba4 (diff)
Value::refcount() is now const, and fixed a memory leak in return values
Diffstat (limited to 'include')
-rw-r--r--include/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/value.h b/include/value.h
index ea56487..5c34406 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1071,7 +1071,7 @@ private:
* Refcount - the number of references to the value
* @return int
*/
- int refcount();
+ int refcount() const;
protected:
/**