diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-11-21 16:37:08 +0100 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-11-21 16:37:08 +0100 |
commit | 945748c19b966fff297d9a7a1e2dfda3b0a80754 (patch) | |
tree | e1ec0249d0df7aee2f22b11e484a948fae2b0092 /include/value.h | |
parent | 578fc01d0e6ba0be7818ad2d2533aa3a2dde3ba4 (diff) |
Value::refcount() is now const, and fixed a memory leak in return values
Diffstat (limited to 'include/value.h')
-rw-r--r-- | include/value.h | 2 |
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: /** |