diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/reference.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reference.h b/src/reference.h index 1a78d4c..3500ddb 100644 --- a/src/reference.h +++ b/src/reference.h @@ -57,10 +57,10 @@ public: addref(); } - Reference(C* ptr, bool addref) + Reference(C* ptr, bool addr) { m_ptr = ptr; - if(addref) + if(addr) addref(); } |