From ab7d44847e65be279aebdfe00fe717e8f51ab5dd Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 2 Dec 2004 17:28:02 +0000 Subject: Fix build problem with GCC 3.4 --- src/reference.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); } -- cgit v1.2.3