summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-12-02 17:28:02 +0000
committerStef Walter <stef@memberwebs.com>2004-12-02 17:28:02 +0000
commitab7d44847e65be279aebdfe00fe717e8f51ab5dd (patch)
tree233453bea64edb921bd62f1935102e018c39173c
parent380578aa1e265929277703dff704839a245aadec (diff)
Fix build problem with GCC 3.4
-rw-r--r--src/reference.h4
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();
}