diff options
author | Stef Walter <stef@memberwebs.com> | 2004-12-02 17:28:02 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-12-02 17:28:02 +0000 |
commit | ab7d44847e65be279aebdfe00fe717e8f51ab5dd (patch) | |
tree | 233453bea64edb921bd62f1935102e018c39173c /src | |
parent | 380578aa1e265929277703dff704839a245aadec (diff) |
Fix build problem with GCC 3.4
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(); } |