From 19cfd9e23b7cd4a7976591290b17e7ba20dd5a50 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Feb 2009 06:13:49 -0400 Subject: Fixed the printing of O_CONS nodes --- src/op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op.h') diff --git a/src/op.h b/src/op.h index 94df154e..ea787d8c 100644 --- a/src/op.h +++ b/src/op.h @@ -243,10 +243,10 @@ private: checked_delete(this); } - friend inline void intrusive_ptr_add_ref(op_t * op) { + friend inline void intrusive_ptr_add_ref(const op_t * op) { op->acquire(); } - friend inline void intrusive_ptr_release(op_t * op) { + friend inline void intrusive_ptr_release(const op_t * op) { op->release(); } -- cgit v1.2.3